• Resolved chetanrana

    (@chetanrana)


    FVM is creating unused cache files see this . I cleared those files from Cpanel and cleared server cache and local cache. but still, those files are getting created. how to removed them? and why they are being created in the first place?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Raul P.

    (@alignak)

    Those are not unused, they are likely just expired.
    A cronjob will then delete them after some time.

    If the plugin deleted the file instantly, and if your server had some page caching active that wordpress cannot purge (very common), they would become missing and return 404. Then anonymous users would not see scripts or styles, thus effectively breaking your site for them.

    You can still manually delete them via file manager if you really want them gone.
    In the future, I’ll add an option to purge them instantly, as an option.

    You can check the file cache date by looking at the number after cache/fvm/
    That number is an unix timestamp with the last time you purged the cache and they were generated. If you purge the cache, that number will increase.

    Thread Starter chetanrana

    (@chetanrana)

    You can still manually delete them via file manager
    I already deleted them manually from the Cpanel file manager .but still they are coming. I Cleared Cloudflare Cache, Local Cachee

    No Matter how many times you delete them, there are still getting called.

    Plugin Author Raul P.

    (@alignak)

    If the files are getting created after that, that means the plugin is active and doing what needs to be done.

    If you are getting different files created per pageview, as per our faqs, you have dynamic content being merged. If the content of one of the files being merged changes, even if it’s just one character, it’s considered a different file. Likewise, any inline content being merged that keeps changing per pageview and being merged, it’s also different.

    FVM will create a file for each different requirements and code it sees, else it wouldn’t do what it needs to be done.

    You should first disable the plugin and then check which plugin or customization is generating dynamic css or js code, that is different per pageview.

    Refresh the page and make a diff.

    Thread Starter chetanrana

    (@chetanrana)

    You should first disable the plugin and then check which plugin
    Deactivated and Deleted Already.

    one thing I noticed. if I connect to a different wifi network everything working fine. only in my network, this is happening

    Plugin Author Raul P.

    (@alignak)

    If it only happens on your network, then it’s certainly something to do with your network. Are you using a VPN, Proxy or something else in-between?

    Either way, it’s something to do with cache, so please ensure you purge all possible caches.

    If the plugin is disabled and even deleted it cannot generate new files.
    That is not how wordpress works.

    However, your server may have some sort of intermediate cache, either PHP OPcache, or likely some sort of disk cache.

    Some hosts have aggressive disk cache to compensate for their slow network disks. That means, your code changes may take a while to actually reflect what you do.
    I’ve seen cases where people complete deleted the site from the server and purged all caches on their hosting button… but because it was cached by the server at the disk level, it kept reading the files from that specific cache as if the files were never deleted.

    Either way, I cannot help you with that.
    Please ask your hosting what is going on.

    Different networks can yield different results if they use a load balancer or some sort of reverse proxy. You may be hitting one cached server with one connection, and another uncached server with another.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[FVM]FVM creating unused css and js files cache’ is closed to new replies.