• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

I get global.css error and takes 2 seconds and delays page load

cteq1

Active member
Sep 18, 2018
246
95
28
Hosting company is looking into why there is a 4 to 5 seconds to first byte. But I wanted to tackle the Global.css issue.

Using xstore theme
using asset cleanup plugin to clean up the page load.


Thanks for your help
 
I guess you should try Autoptimize plugin.

If a post CSS file auto-generated by Elementor in the folder wp-content/uploads/elementor/css folder is missing, it's not recreated when either a logged-in or not logged-in user displays the page.

I have the feeling that it was different at some point and the behaviror changed recently. Indeed, when we deploy a site, we flush the CSS cache using the dedicated WP CLI command. Beofre, Elementor was recreating the styles automatically (don't know exactly when). Now, it doesn't and we have to go to "Tools" > "Regenerate CSS".

I think it would be a good idea to regenerate the CSS file if missing on page load.
Adding a WP Cli command to regenerate the CSS cache globally after being flushed could be usefull.

Steps to reproduce
Create a post with Elementor. Publish it. Go to the wp-content/uploads/elementor/css folder. Delete the post-XX.css file. Browse to the page. You will get a 404 error on the style file you just deleted. Elementor will never recreate it.

This bug happens with only Elementor plugin active (and Elementor Pro).
 
Last edited:
Hosting company is looking into why there is a 4 to 5 seconds to first byte. But I wanted to tackle the Global.css issue.

Using xstore theme
using asset cleanup plugin to clean up the page load.


Thanks for your help
xstore what's version
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock