• Hi there. I’m using your plugin to increase the Google PageSpeed scores for my sites. I’ve noticed that Google considers the optimized CSS file from Autoptimize “Render blocking”, and that the “Inline All CSS” setting fixes this issue. However, I’ve noticed that when using Mozilla, I sometimes get a white page, and need to refresh a few times before the site comes back (this is highly inconsistent, and there are generally more full page loads than blank ones.)

    Wondering if you would have any insight to this as it seems like a fairly unusual problem.

    Thanks.

    P.S. here is one example of my sites with the issue: https://67.227.190.62/~fowlerorgan/

    https://www.ads-software.com/plugins/autoptimize/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frank Goossens

    (@futtta)

    that’s a tough one MiMango … some questions;
    1. does this only happen in firefox? what other browser(s) did you test in?
    2. don’t know if you’re familiar with firefox’s developer tools and more specifically the network view in there. if you open that and you succeed in triggering the white page, what would be interesting is the http response code (most common are 200, 304, 404, 500, 502, …) for the page/ html and -if any- for the autoptimized css- and js-files.
    3. if you have access to the server logs, it would be interesting to check if anything pops up in the webserver- and php-errorlogs.

    frank

    Thread Starter MiMango

    (@mimango)

    1. Seems like it’s just Mozilla. I couldn’t replicate the issue in Chrome, IE, or Edge.

    2. I downloaded the Mozilla Developer Browser and replicated the issue.
    >> Under the “Console” tab : The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
    >> General Error (Red bar above the tabs): Stylesheet could not be loaded.
    >> Network tab: https://gyazo.com/e89db7d889c5577f8f96157303902586
    >> It also looks like one stylesheet was included: https://gyazo.com/802baf3ee9c4bc71233eccecbe871bed

    Looks like it almost sort of gave up loading after it ran into an issue..?

    Hope this helps!~

    Plugin Author Frank Goossens

    (@futtta)

    the network tab seems to indicate that server sent an normal HTTP 200 response for the HTML, but that it was empty (which is obviously not OK) and it’s logical that at that point no other resources (images, css, js, …) are loaded.

    Now blank pages can be caused by AO (cfr. FAQ), but that wouldn’t be browser?specific and one would get a HTTP 50x (which is an internal server error) response, not a 200. Based on this info I can only assume the problem not to be autoptimize’s, but I have no idea where/ what to look for instead I’m afraid.

    The stylesheet from the 2nd screenshot is very likely one that originates from youtube.com, so it’s normal AO would not aggregate that.

    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank, White Page Sometimes with Mozilla’ is closed to new replies.