Generating UCSS failing 90% of the time due to curl timeout error




Wordpress LScache Plugin: Generating UCSS failing 90% of the time due to curl timeout error

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, Ive got a one-page website and figuring out all CSS classes necessary to generate the correct UCSS. Im having trouble generate UCSS after purging it. Most of the time it throws error: Failed to request via WordPress: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received [server] https://node449.quic.cloud [service] ucss When Im looking to Quic cloud, in the menu Page Optimization (CCSS/UCSS) Overview , tab UCSS it says in CPU column 37-40s, I presume its to generate my UCSS. https://screencast-o-matic.com/i/crQlocVQNlA I tried to change nodes but no difference. So I think that failed generation of my UCSS is because the curl has timeout 30s and generating UCSS takes 30+ seconds, so despite it been generated, curl stops and doesnt receive the UCSS. Maybe its something else but can you please fix this? As well I had 30 seconds PHP execution time so it would fail anyway. I think this could cause problems for other users as well so maybe you can check if PHP execution time is long enough. In the end, can I offer a suggestion? UCSS is a great feature, but I think not every single URL need a unique CSS file. I would rather have UCSS based on a unique combined CSS file. Why? If I have a blog with 1000 posts, but each post has the very same CSS, UCSS will need to generate 1000 times the same UCSS. Thats not good if I need to purge UCSS after the update of a plugin or WP Core? Thank you for bringing this feature! Hi, I assume your get the error from the debug logs on the plugin side. The problem is not that the UCSS isnt generated. The problem is your plugin cannot pull the files from QC. What you see on your QC dashboard are the UCSS files already generated unless you see an error message. The Timed out error indicates your server security settings are blocking your plugins call to fetch the generated UCSS files from QC server Node449. Regards. Hi @tenkstars, I dont think its the server security that its blocking the fetching process of generated data. Its the too long response for the too short timeout. The CSS amount used on the website (500Kb uncompressed) takes about 40 seconds to process but the plugin gave up fetching at the 30s mark. Thats either the timeout as servers default for cUrl or the plugin assumes in its settings that 30 seconds would be enough. So I cant do anything about that, its not a security/blocking issue on my server. It never happened on another website that has 20Kb of CSS. I think thats a bug in fetching code. Can you please ask developers to review this issue. Thank you very much! Believe me Ive resolved the same issue for a couple of users. You need to check and make sure your firewall is not blocking outgoing connection to our QC server. Heres the list of the current IPs: https://quic.cloud/ips Should you still insist it is a bug in our plugin, please open up a ticket at our support site: https://store.litespeedtech.com/store/submitticket.php?step=2&deptid=2 Regards.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference