February 20, 2020 at 4:55 pm #1186408
From a check we noticed an unusual activity relative to our site; to be precise, we understand that files with the extension ‘.js’ and ‘.css’ are generated within the ‘Dynamic_Avia’ folder in the ‘Uploads’ directory on a daily basis.
These files (whose origin and purpose are unknown to us) currently occupy almost 5 GB of disk space.
It would be advisable to free these resources, at least by checking the reason for the presence of so many files. Depends on what. this problem? Thank you.
ps: below you will find the site to which we refer.February 20, 2020 at 4:57 pm #1186410February 20, 2020 at 7:48 pm #1186509
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
VictoriaFebruary 20, 2020 at 9:09 pm #1186537February 22, 2020 at 12:50 pm #1186947
Thanks for that. What happens if you activate the Delete old CSS and JS files? option under Enfold->Performance?
RikardFebruary 22, 2020 at 12:52 pm #1186948
I need to try? You can also try, if needed: you have the admin access: is right? Is better to make some test.
ThanksFebruary 23, 2020 at 8:41 am #1187084
Yes we can do what I wrote above, but we can’t check the folder via FTP, since you didn’t include FTP details. Is the folder still the same size after activating the option I referred to?
RikardFebruary 24, 2020 at 5:58 pm #1187441
Hi Rikard, we have checked on the FTP: no changes after we have changed the option in Enfold->Performance….
Can you suggest us a solution? I attach another screenshot.
ThanksFebruary 25, 2020 at 11:13 am #1187646
ps: can I delete all this files and check if the system recreates them? I need to preserve them?February 27, 2020 at 10:53 am #1188376
Is the site hosted on WP Engine?
Yes, you have to delete the files because they are no longer valid. This seems to be an issue with database caching and the theme’s compression timestamp as explained in this thread.
You can use the filter, which is available in the thread above, to prevent the theme from generating merged files with timestamps.
Thank you for your patience.
IsmaelFebruary 27, 2020 at 1:52 pm #1188456
thanks for your support, but I need some more help.
In some parts of the thread it says to disable an Enfold function. In another part it says to replace some parts of code in a file that I have not well identified. Finally it says to use a plugin.
Can I ask you for a simplified procedure (maybe in clear steps), explicitly saying if I have to do these procedures on the site (via FTP or similar) or do I have to indicate them to the server manager where the site is located?
Thanks, all the best.March 2, 2020 at 4:00 am #1189298
Sorry for the delay. The easiest route is to disable the theme’s Performance > File Compression settings because it’s the option that generates the merged files. You can instead use a third party plugin like Autoptimize or BWP Minify to compress the scripts and stylesheets.
Now, if you prefer to use the theme’s file compression settings, then you have to add the following filter in the functions.php file to remove the timestamps in the file name of the merged files because your server caches the database including entries related to the compressed files.
That should prevent the theme from generating multiple copies of the compressed files.
IsmaelMarch 4, 2020 at 12:48 pm #1190029
thanks for your indication. We test the procedure immediately,
I’ll update you if there are problems.
See you soonMarch 4, 2020 at 6:56 pm #1190157
In the next update 18.104.22.168 there will be a theme option to prevent generating the timestamps.
GünterMay 19, 2020 at 8:52 pm #1214420
FYI my host has just reported this week that similar issues persist with this cache folder, and I am running Enfold 4.7.4. I am reading this and similar recent messages for solutions.May 21, 2020 at 7:14 am #1214905
Sorry for the problem. Did you select to activate the option to delete the old CSS and JS files under Enfold->Performance? If not then please try doing so.
If that doesn’t change anything then please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.
RikardMay 21, 2020 at 6:45 pm #1215061
Thank you Rikard, I will share this advice with my host developer and get back to you.May 23, 2020 at 8:30 am #1215373
You must be logged in to reply to this topic.