• Resolved denise8a

    (@denise8a)


    Hi there!

    HNY!
    I’ve recently started to use this plugin in addition to LiteSpeed Cache, following this suggestion here:
    https://onlinemediamasters.com/litespeed-cache-settings/

    However, I’m noticing that my CSS looks funny when I open any page on incognito mode, or just in a different browser, either on desktop or mobile.
    Even if I re-load the page, seems to not be loading the styles correctly.

    I would greatly appreciate any suggestions on how to fix this.
    Thanks!

    Denise

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter denise8a

    (@denise8a)

    Forgot to mention that if I add the swcfpc=1 at the end, everything looks normal.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Please make sure you have disabled all kind of page caching operations in your litespeed cache plugin and only use it for static file optimization like image, css, js etc.

    Also, looking at your website header, it seems your website is not being cached by Cloudflare and instead, there is some page cache system in place: https://i.imgur.com/ry6F57l.jpeg

    • This reply was modified 10 months, 3 weeks ago by iSaumya.
    Thread Starter denise8a

    (@denise8a)

    Hi @isaumya,

    I did disable the QUIC CDN from the site.

    I see this header: cf-cache-status: DYNAMIC

    But now the mobile version is totally broken only for posts, but not for pages.

    Not sure what’s going.

    Any idea?

    Thanks!

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Not seeing anything broken on mobile view. Can you also share a screenshot of your Page Rule section from Cloudflare Dashboard?

    Thread Starter denise8a

    (@denise8a)

    Hi there!
    I did a quick adjustment on CSS and it was fixed, maybe I didn’t notice before because of my cache.

    No Page Rules con CloudFlare.
    https://prnt.sc/XzehozO7wbdi.

    Thanks,

    Denise

    Plugin Contributor iSaumya

    (@isaumya)

    If you are not seeing any page rules that means the plugin wasn’t setup properly. Please deactivate and delete the plugin from the WP Admin > Plugin section and install and set it up as fresh. 1 page rule should be added by the plugin.

    Thread Starter denise8a

    (@denise8a)

    Hi!
    I just did and now I see the rule.

    Checked on a different browser and seem to be working now.
    Many thanks @isaumya!

    Plugin Contributor iSaumya

    (@isaumya)

    Yes, everything is working flawlessly now: https://i.imgur.com/AaSnBvx.jpeg

    Marking this thread as resolved.

    Thread Starter denise8a

    (@denise8a)

    Hi @isaumya!

    It seems I’m having the same issue again.

    I have not changed any settings related to cache or other optimization of that sort since this last conversation with you.

    Please take a look in this two urls and notice how both pages look different:

    https://hogarense.com/sartenes/ (weird look)

    https://hogarense.com/sartenes/?swcfpc=1 (good looking)

    Not sure what’s needed to fix this for good.

    Thanks for your comments!

    Denise

    Plugin Contributor iSaumya

    (@isaumya)

    Under the third party section did you enabled the option to clear cache when litespeed cache updtaes? cause it seems litespeeed generated a new cache file and the page cache wasn’t cleared

    Thread Starter denise8a

    (@denise8a)

    Hi @Isamura,

    I had all checkboxes are marked under the LiteSpeed plugin section.

    I tried leaving only the first one checked, but still the same issue.

    Denise

    Plugin Contributor iSaumya

    (@isaumya)

    hmm… This is wired. The plugin listens to the following hooks:

    litespeed_purged_all
    litespeed_purged_all_ccss
    litespeed_purged_all_cssjs
    litespeed_purged_all_object
    litespeed_api_purge_post

    And when these hooks are fired, cache is cleared. Not sure why litespeed cache is not firing these hooks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘CSS looks weird on incognito’ is closed to new replies.