Generating UCSS failing 90% of the time due to curl timeout error
-
Hi,
I’ve got a one-page website and figuring out all CSS classes necessary to generate the correct UCSS.
I’m 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 I’m looking to Quic cloud, in the menu “Page Optimization (CCSS/UCSS) Overview”, tab “UCSS” it says in CPU column 37-40s, I presume it’s 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 doesn’t receive the UCSS. Maybe it’s 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. That’s not good if I need to purge UCSS after the update of a plugin or WP Core…
Thank you for bringing this feature!
- The topic ‘Generating UCSS failing 90% of the time due to curl timeout error’ is closed to new replies.