• Resolved rajolalaina

    (@rajolalaina)


    Hello,

    When i purge all cache, the CSS and JS file name’s not change (like wpo-minify-header-577812dd.min.css and the hash not change). I’ve same file after change css/js content.
    So i’ve bug when i’ve modification. I alwayse need to navigate in private to show modification.
    Is it possible to use hash versioning like style.min.css?ver=123456 or main.min.js?ver=4321 for async files load ? And number change when purge or modify content.
    How can i resolve this ?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • @rajolalaina Could you please try to re-purge the minified files and check if it helps to fix the issue?

    Thread Starter rajolalaina

    (@rajolalaina)

    Thanks for your reply,

    I try multiple time but the minify file name not change.
    Is there way to manualy reload this hash ?

    Thanks

    @rajolalaina You cannot manually reload the hash.

    Have you performed a conflict test yet?

    Try deactivating all plugins except for WP-Optimize and see if it is resolved.

    If so, reactivate each plugin one at a time until you find the culprit. You can check for the issue between activating each plugin, so you can see which one is causing problems.

    Please let us know your findings.

    Thread Starter rajolalaina

    (@rajolalaina)

    Hello,

    I’ve check all plugin but nothing change. After disable plugin, i’ve purge minified files but the file’s name is always the same after i’ve make modification css or js file.

    Do you know my problem ?
    I’ve change my style.css file version 1.2 to 1.3, i purge minified files but I’ve always same file name after that.
    wpo-footer-hash or wpo-header-hash only change after add new or remove css/js file. So if i have same file but i change file content, the hash is always same and file name not change.
    If the modified files do not change name or version after purge, this causes display and functionality errors on the site every time i update css/js file.

    Is there a hook to allow versioning css / js files with wp-optimize ?
    For exemple, when i make modification in my style.css, i change version in the hook like 1.0.1 to 1.0.2. And after purge, the wpo-header and wpo-footer hash are changed.

    Waiting your reply,
    Thanks

    @rajolalaina At the moment there is no hook that can change the version.

    I’ll check this with our development team and update you soon.

    Thank you for your time and patience.

    @rajolalaina I got a reply from our development team, this will be fixed in next release.

    Thread Starter rajolalaina

    (@rajolalaina)

    Hello @bornforphp

    Can you give me a version reference of this new release ?
    When are you going to release the new version which fixes this bug ?

    Thanks

    @rajolalaina We dont have exact ETA for next release, but We will update you as soon as the new version is released.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘CSS/JS file name not change on purge’ is closed to new replies.