Trying to enable UCSS




Wordpress LScache Plugin: Trying to enable UCSS


Hello, I am trying to make use of UCSS in my website. I can see in my quic.cloud account everything OK. I have enabled Generate UCSS + UCSS Inline but still whatever i do i am getting served from the /css folder my combined css file, and not from the /ucss. Tried everything. Purged All+Purged All UCSS, disabled, reenabled USCC, no luck. Could you please help Thank you in advance. Report number: BFYCKJLX Report date: 11/02/2022 12:32:06 The page I need help with: https://www.enostalgia.gr/ Hi, please check in your QUIC Cloud dashboard https://my.quic.cloud it should report some error , see what it shows best regards, Hello @CacheCrawler Thank you for your fast reply. I have checked and i am getting this error [ERROR] UCSS generation repeatedly took too long. Likely your CSS and/or HTML will need to be opt? I dont know why i get this error. I have tried to find and whitelist some css selectors with the help of this tutorial. Is it maybe related to this? In my functions.php i also have these lines: add_filter( litespeed_ucss_per_pagetype, function() return get_post_type() == post ) add_filter( litespeed_ucss_per_pagetype, function() return get_post_type() == mp-event ) for 2 post types. Hi, well, this error happens because your page/css was too big that will take long time to generate currently we have 30 seconds time limit for ucss generation , if it takes longer than that , we will block that page to avoid overload and blocking for other normal requests we will implement some special node specifically for long-run ucss best regards, Hello @CacheCrawler Thank you for your info. Before i implement this tutorial, UCSS was working fine. Quic.cloud could scan my page and generate UCSS. Isnt that strange? Could you have a look in the css of my home page for example? Is it too big? I am using WPBakery Page Builder and this is what i am trying to eliminate. Best regards, Quic.cloud could scan my page and generate UCSS. Isnt that strange? well , not exactly to be strange , such operation is impossible to perform locally on users site , it requires a lot of resources and many other software/application involved so the working flow here is plugin sends request to service node node fetches the page and analyze css node generates the needed css and send back to plugin plugin receives it and update/insert it into the page you can use this tool to check CSS/JS