• Resolved Anonymous User 14978628

    (@anonymized-14978628)


    Hi,

    When you say the following does it mean i need to have my caching plugin disabled in order to allow the critical css rules to be generated?

    “To get critical CSS going, make sure there are requests coming in that are not served by a page cache”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Anonymous User 14978628

    (@anonymized-14978628)

    Found answer later in FAQs

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Gotta love those FAQ’s ??

    Thread Starter Anonymous User 14978628

    (@anonymized-14978628)

    Yup, that’s my fault for jumping ahead excitedly! ??

    Although, saying that, after using the plugin i’m a little unsure as to whether the page cache needs to be disabled entirely until the critical css is generated/updated (which is what i did based on my interpretation of the faqs).

    The thing is i keep my cache built all the time (as my pages rarely change), so cache is usually only cleared manually or when my theme forces me to do it.

    The first hit needs to be uncached to start the process, but does it require a second uncached hit also?

    What i would do under normal circumstances is after page cache has been cleared, to use xenu link sleuth to quickly spider my site and regenerate the page cache.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    there’s no clear-cut answer, but what you could do:

    1. clear page cache to allow jobs to be created
    2. jobs result in rules
    3. if you have your most important rules (e.g. is_front_page, is_single, is_page, …) you can again clear page cache to ensure the CSS is injected in your HTML (instead of serving pages from cache that don’t have the rules applied yet)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page Cache’ is closed to new replies.