• Resolved David Rychlý

    (@redoper)


    Hello,

    we have issue on the website of our customer, on which they are using your plugin.

    The issue is with the minification of Javascript files, which are not being updated after being changed. I tried multiple times deleting every possible cache in your plugin, but minified files still include old code without latest changes.

    Only way to see latest changes is to turn off the minification in settings of W3 Total Cache, then we can see site without issues.

    Thank you for your response in advance.

    Regards,
    David Rychlý

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @redoper

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    The problem is when you change or update your JS file, the file name remains the same. The Browser already has that file cached so when you make modifications and the name remains the same, there is no reason for the browser to cache that file again. That also goes for minified files.
    You should add a random query string to your modified JS file. That way new JS file will be minified and it will be cached by the browser.
    I hope this helps!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @redoper
    There is a recently published article on our blog that you can check out for guidance on this matter.
    I hope it helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with minification of JS’ is closed to new replies.