• Resolved sanil7

    (@sanil7)


    Hello! I am trying to generate UCSS for my website however, I encounter the following error at Quic Cloud Dashboard:

    UCSS generation took too long. Likely your CSS and/or HTML will need to be optimized.UCSS generation took too long. Likely your CSS and/or HTML will need to be optimized.

    Can someone please help me with this error?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • serpentdriver

    (@serpentdriver)

    The solution is already given in the error message. Your theme uses too much CSS that forces too much ressources and time to extract the needed (unique) CSS.

    More than 2 MB for CSS is enough to style 10 themes. Contact the builder of your theme if he offers a theme that doesn’t use sooooo much CSS.

    Thread Starter sanil7

    (@sanil7)

    Hello, I am using the Astra Theme which is one of the best selling themes and most used themes for WordPress. The CSS that my Front Page uses including all Plugins is about 230Kb and I am pretty sure that this feature did work before few months ago with the same website.

    serpentdriver

    (@serpentdriver)

    Best selling because only of good looking, but not because of good coding. There is a big difference between them.

    If I request your page there is 1 single CSS file with size of more than 2 MB. That doesn’t change the fact that you disabled CSS combining after my last reply. In the end it’s more than 2 MB spread over 65 CSS files.

    Thread Starter sanil7

    (@sanil7)

    Yes, I disabled the CSS Combining because I suppose it could give better understanding for diagnostics and I do know that the Size doesn’t change. However, the total file size for css is around 230Kb but I guess you are pointing to uncompressed size which makes sense. Still, Astra is one of the most used themes, along from what I can see Plugins like Elementor and Woocommerce are more CSS heavy comparatively. Both the Plugins too being the most used plugins.

    serpentdriver

    (@serpentdriver)

    CSS is only compressed for the transfer between server and client. At the end it must be parsed either by the browser or quic.cloud service to generate UCSS.

    Nevertheless, you are wrong. Just use developer console in your browser, filter CSS, but purge browser cache. There are 65 CSS files with a total file size of 2 MB and only this size matters and not the compressed size for transfer.

    Thread Starter sanil7

    (@sanil7)

    Hello Again, Yes you are correc. From what you have said, I believe then LiteSpeed UCSS is redundant for websites running with Elementor and WooCommerce since they combine amount to 1 MB CSS Size. I will look for other alternatives, Thank You.

    Plugin Support qtwrk

    (@qtwrk)

    apologize for the inconvenience , currently there is 30 seconds generation time cap , or 3MB size cap , to avoid over-all server overload

    we will see what we can improve on this matter in future.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Litespeed Error while generating UCSS’ is closed to new replies.