-
AuthorPosts
-
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 #1186410This is a screenshot of the folder
February 20, 2020 at 7:48 pm #1186509Hi Grazman2020,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaFebruary 20, 2020 at 9:09 pm #1186537Sure: check the private area ;-)
February 22, 2020 at 12:50 pm #1186947Hi,
Thanks for that. What happens if you activate the Delete old CSS and JS files? option under Enfold->Performance?
Best regards,
RikardFebruary 22, 2020 at 12:52 pm #1186948Hi Rikard,
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 #1187084Hi,
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?
Best regards,
RikardFebruary 24, 2020 at 5:58 pm #1187441Hi 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 #1187646ps: 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 #1188376Hi,
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.
// https://kriesi.at/support/topic/dynamic_avia-making-way-too-many-calls/#post-1182734
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.
Best regards,
IsmaelFebruary 27, 2020 at 1:52 pm #1188456Hi Ismael
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 #1189298Hi,
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.
// https://wordpress.org/plugins/autoptimize/
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.
// https://kriesi.at/support/topic/dynamic_avia-making-way-too-many-calls/#post-1182734
That should prevent the theme from generating multiple copies of the compressed files.
Best regards,
IsmaelMarch 4, 2020 at 12:48 pm #1190029Hi Ismael,
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 #1190157Hi,
FYI:
In the next update 4.7.3.1 there will be a theme option to prevent generating the timestamps.
Best regards,
GünterMay 19, 2020 at 8:52 pm #1214420FYI 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 #1214905Hi sifupeter,
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.
Best regards,
RikardMay 21, 2020 at 6:45 pm #1215061Thank you Rikard, I will share this advice with my host developer and get back to you.
May 23, 2020 at 8:30 am #1215373 -
AuthorPosts
- You must be logged in to reply to this topic.