We use the Enfold theme and WP Fastest Cache. When Enfold creates a new dynamic CSS file under “wp-content/uploads/dynamic_avia/avia-merged-styles-*.css,” the cache still wants to serve the old CSS file, which has already been deleted. This results in an unformatted page.
WP Fastest Cache has options for clearing the cache when pages are created or modified. However, this doesn’t seem to be sufficient.
Do you have a hook that executes when a new CSS file is generated that we can use to clear the cache?
Hey xela,
Thank you for the inquiry.
You may need to resave the theme options before purging the plugin cache. Also, make sure that only one compression or minification option is enabled, either in the theme options or in the compression options offered by the plugin. Enabling both may cause issues. We also recommend disabling the cache plugin while configuring the site.
Let us know the result.
Best regards,
Ismael
Dear Isamel,
Thank you for your message, but unfortunately, the question has not been answered:
I was referring to a notification from the theme as soon as the CSS file is regenerated. This is called a hook.
Thanks again! :)