Supercache and AutoOptimize

This topic contains 10 replies, has 4 voices, and was last updated by  jahusdtc 5 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #429828

    jahusdtc
    Expired Member
    Post count: 162

    Read the two information pages on WP Super Cache and AutoOptimize. My site IS faster. I also installed PHP7 and checked to see my plugins can support that version. (I removed my so-appreciated WP-Less because it has errors in PHP 7 versions!)

    But…I find if I use the AutoOptimize and click on Optimize CSS — whether or not the choices are made below it…that my front page looks like it is missing vast clumps of CSS…very strange looking.

    Can you give me any direction on what to look for?

    I have deactivated my plugins one by one, but that doesn’t seem to be the problem.

    Any ideas?

    #429829

    jahusdtc
    Expired Member
    Post count: 162
    This reply has been marked as private.
    #429835

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your post. Kindly refer to the recommended settings as mentioned here for both WP Super Cache and Autoptimize

    https://wpgeodirectory.com/docs/autoptimize-settings/
    https://wpgeodirectory.com/docs/wp-super-cache/

    Let us know if it helps

    Thanks!

    #429911

    jahusdtc
    Expired Member
    Post count: 162

    Yes, those are the two pages of information I said I read.

    Not sure what problem is…but as soon as click on “Optimize CSS” on AutoOptimize I have a problem.

    #429926

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. I’ve just enabled the autoptimize settings and your Website still looks fine. How do you replicate the said issue?

    Thanks

    #429928

    jahusdtc
    Expired Member
    Post count: 162

    Could you check on your Ipad or your phone, please?
    It’s like the CSS is missing.

    #429933

    jahusdtc
    Expired Member
    Post count: 162

    Sorry, I have to deactivate AutoOptimize for the rest of today until about 6 pm.

    Would it be possible for you to recheck on your Ipad and/or phone then?

    Same problem is now occurring on desktop. Clearing cache seems to have some delay.

    #429934

    jahusdtc
    Expired Member
    Post count: 162

    BTW, the key seems to be the Optimize CSS…if that’s unticked, there is no problem. (No help for speeding up CSS, either, of course…)

    #429947

    Paolo
    Site Admin
    Post count: 31206

    if optimizing css gives errors, normally there is an error within the css. A developer have been alerted.

    Thanks

    #430050

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    this has nothing to do with iphone or even mobile, its simply to do with logged in vs logged out, logged out is broken. I guess there is some CSS only shown to logged out users, that might help you track it down. I have no idea where to start looking but one of the main problems i found was:
    “.home .widget_custom_html#custom_html-12 h3.widget-title{font-size:1.7emimportant;”
    more specifically
    “1.7emimportant;” vs
    “1.7em !important;”

    find and fix that first, it might be the only problem but there might be more. One broken thing like that can break the entire rest of the CSS.

    Stiofan

    #430164

    jahusdtc
    Expired Member
    Post count: 162

    That was really helpful. Thanks for taking the time to look.

    In my CSS, that was the only (well, according to w3.org) error and I fixed it. But…didn’t fix problem.

    Went through wp_add_inline stuff in my code — still no joy. (And I was so SURE that was problem.)

    Finally, went to w3.org and ran whole page instead of individual css files.

    Saw reference of error in plugin css (fortunately included name of plugin because it was sort of appended to file dynamically) and turned off just that plugin. That solved the problem, letting AutoOptimize do its thing.

    The plugin included options for selecting colors within it, then emitted CSS, I guess? Anyway, solved my AutoOptimize problem.

    Your tip about it being problem when logged OFF really helped me test. (Because…I was checking on phone and Ipad without logging in, but thought the format (mobile/responsive) was the problem, not being logged in/out.)

    Thanks again! Whew!

    Really runs faster now.

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket