html - HTTPS source code has whitespace, but HTTP doesn't -


my problem odd element on site looks different when view using https connection. when viewing source i've found https pages have additional line breaks , white space etc. need both same. example, tooltip icons in nav bar have additional line breaks when view https page can seen visible jump left , right change pages - because of line breaks , whitespace.

according chrome web inspector both http , https pages being gzipped.

can point me few things investigate can't think?

also, may happen on other sites too. if view source of http://aws.amazon.com/cloudfront/ , https://aws.amazon.com/cloudfront/ can see additional line breaks. neither http or https version gzipped site though.

i'm sure option change css/html it's not bad css/html , easier if both http/https did same without having add check every time write css/html.

i'm using symfony2 (i have tested still happens outside framework) maybe compress whitespace instead. have used {% spaceless %} tag in parent twig template, doesn't remove whitespace , seems hassle keep using these kind of tags.

thanks help.

edit: added image.

side-by-side http v https in chrome

i've found issue.

the network connection i'm using compressing pages removing line breaks every site visit (including 1 i'm having issue aws site example), on non-secure pages.

adding 'no-transform' cache-control header prevents happening.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -