Tagged: avia-head-scripts
Hi guys,
I’ve seen this problem before but can’t get a solution.
The folder: /wp-content/uploads/dynamic_avia has now 670MB of 3000+ avia-head-scripts.xxx*.js files and keeps growing.
Can anybody tell me how to get rid of this phenomenon?
I tried this: https://kriesi.at/documentation/enfold/how-to-clear-the-cache/
didn’t do anything,
Thanks, Stefan
Hey Stefan,
Thank you for the inquiry.
You can enable the Enfold > Performance > Delete old CSS and JS files? option to automatically delete these files. This option is located at the very bottom of the Performance panel. If the files persist, you can manually delete them (make sure to create a backup first), then resave the theme options to regenerate the dynamic scripts and stylesheets.
You can also disable the file compression settings in Enfold and instead enable the compression option in your caching plugin, or install a dedicated optimization plugin such as Autoptimize or BWP Minify.
Hope this helps.
Best regards,
Ismael
Thanks Ismail,
“Delete Old CSS And JS Files” was and still is activated. I’ also played with deactivating the compression in Enfold, but it doesn’t do the trick.
I changed my caching plugin to autoptimize. Still the same: https://postimg.cc/8s3DQg5F
I dared to just delete the folder ingredients of wp-content/uploads/dynamic_avia after backing it up.
It doesn’t seem to have an effect on the page. I will now check if the masses of files reappear.
For now the problem seems to be solved,
Thanks!
Stefan