• Resolved born2excite

    (@born2excite)


    Hello Support,

    I have a siteground-optimizer-assets folder in my uploads folder containing 9,440 files (CSS and JS) ranging in size between 980 KB and 1.38 MB each. That’s a combined total of about 10 GB.

    I have another folder siteground-optimizer-assets/externals containing 783 files ranging in size between 600 bytes and 14 KB each.

    I’ve been using Speed Optimizer about 4 years now (previously Siteground Optimizer). Seems to me that most if not all these files are not necessary, are taking up too much space and are a burden on my server.

    Please consider adding a cleanup feature to the Speed Optimizer plugin.

    Can you please advise if manually deleting these files is safe?

    Thanks
    Julian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Simeon Boev

    (@k3llanved)

    Hello @born2excite,

    In the best case scenario automated cleanup of the plugin assets is not required. Once the files are generated they will be used as long as they are not outdated. This usually happens if your WordPress uses java scripts or CSS files that include dynamically generated content, thus our plugin creates a new copy of the file. Take a look at the files that are generated and compare them to get a better understanding which plugin generates the dynamic content and use the available tools to exclude it. This being said its safe to remove the files generated so far and if needed use the top administrative menu tools of our plugin to purge all cache stored by our plugin.

    Best Regards,

    Simeon Boev

    Thread Starter born2excite

    (@born2excite)

    Hello Simeon Boev (@k3llanved)

    I’m not sure you understand the problem. The Speed Optimizer plugin itself generated 9,440 files adding up to more than 10 GB in size. For example:

    siteground-optimizer-combined-css-00481e2423f4fac0b11e6f2e6157cc61.css

    I have 9,440 such files in the Siteground Optimizer Assets folder. The Siteground plugin has created a new combined assets file 9,440 times and has not deleted the old files. The Siteground plugin is best suited to clean up after itself.

    You’re telling me to look at each of the 9,440 files to determine which plugin created the dynamic content! The Siteground plugin created the 9,440 files and It’s not cleaning up after itself, that’s what’s important.

    If I hear you correctly, deleting these 9,440 files is safe and I should then clear the cache, is that right?

    Cheers,
    Julian

    Plugin Support Georgi Ganchev

    (@georgiganchev)

    You can safely remove the files and purge the cache or delete them manually. As Simeon has explained the Speed optimizer creates a new file each time it detects new content is generated.

    The easiest way to find what script is causing this behaviour is to:

    • Delete the current files and load the website where a new file will be generated.
    • Load the site in incognito
    • Monitor the uploads/siteground-optimizer-assets folder
    • see the difference between the last two generated files

    You can then find which plugin is generating those files by looking for a pattern or variable.

    After you find it you can exclude the dynamic scripts from the combination and prevent the generation of multiple files that take from your disk space.

    Best regards,
    Georgi Ganchev

    Thread Starter born2excite

    (@born2excite)

    Than you, Georgi Ganchev (@georgiganchev)

    Please close this ticket.

    Best Regards,
    Julian

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Combined Assets Cleanup’ is closed to new replies.