• Resolved hernan2022

    (@hernan2022)


    Hello,

    In a project where I have asynchronous loading CSS is quite important, it turns out that I work with a plugin with questionable optimization (Toolset) which loads an infinite amount of JS and CSS

    I have CCSS configured by content type but I have a very long list of urls waiting, I have reviewed my account details and a lot of CCSS are actually being generated recently

    Why could this be happening? Can I do something to force generation by content type?

    The report number is:

    OATSNTMV

    Thanks greetings

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter hernan2022

    (@hernan2022)

    I have a theory, I had “page” configured with separate critical css

    Maybe the buddypress/youzify urls were being interpreted as page urls. Very recently buddypress has updated the way it handles urls, but that may be the cause

    Too little time has passed to confirm or rule out this theory, I would have liked to have realized it sooner.

    Thread Starter hernan2022

    (@hernan2022)

    Yes, I’m pretty sure the problem was buddypress being recognized as pages. But right now as buddypress is changing the way it handles slug and the structure of its pages, this probably won’t be a problem in the future

    If in “Separate CCSS Cache URIs” I put “/$” would I be generating critical CSS only for the home page? Is it reasonable to place all the important urls here to ensure the best loading of styles?

    Thank you

    Plugin Support qtwrk

    (@qtwrk)

    you may want to remove the page in CCSS per type , so all page will have same CCSS re-used , instead of one CCSS per one page.

    Thread Starter hernan2022

    (@hernan2022)

    Yes, thank you, I confirm that the file list is finished

    To recover some of the finesse in critical CSS I will list the important pages in “Separate CCSS Cache URIs”

    I think “/$” should be safe to request separate critical CSS for the home page (and nothing else)

    Thanks greetings

    Plugin Support qtwrk

    (@qtwrk)

    no , /$ matches all pages that ends in / , like /something/ and /something_else/

    you need to use ^/$ to match homepage only

    Thread Starter hernan2022

    (@hernan2022)

    Thanks for the observation

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I have an almost infinite list of critical CSS files’ is closed to new replies.