• Resolved Volkmar Kantor

    (@volkmar-kantor)


    Our server has a 7 day caching rule. We made changes to our style.css and add a cache breaking parameter on loading.
    When call “clear cache” in hummingbird,

    • at first all seems to be fine – i had a look in the developer console – hummingbird is not distributing any optimized files
    • after some reloads (5-6) the old optimized file is used in asset optimization – with the old code

    Whats the matter here?
    I would expect hummingbird to delete the old files and create completely new files with new filenames. But that does not seem to be the case.

    I have looked at this on the server via FTP. In fact hummingbird deletes the files and then creates exactly the same files with the same filenames. Why doesn’t the hash of the filename generation include e.g. the date of creation. So something like this could not happen. More importantly, why does Hummingbird not recognize the change of the file?

    I also noticed that 3 of the hash files were not deleted during “cache clear”. Is this normal?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @volkmar-kantor,

    Hummingbird Asset Optimization creates the hash file names based on couple of parameters and one of those is the version number of the file.
    The file versioning is handled by WordPress and Hummingbird builds up on that, it can’t track the changes in the code but rather checks the file version and if that is changed then the file name will be updated as well, otherwise, the file is seen as same one and with that the same file name is generated.

    I also noticed that 3 of the hash files were not deleted during “cache clear”. Is this normal?

    Are you referring to Clear Cache from Page Caching or from Asset Optimization?
    When you open those files it should show at start the list of files that it handles, are they perhaps coming from a specific plugin or theme?

    Cheers,
    Predrag

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @volkmar-kantor,

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional questions or problem.

    Best Regards
    Nithin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Asset Optimization delivers old content’ is closed to new replies.