Support » Plugin: Autoptimize » Udpate CSS filename when clearing cache

  • Resolved TM

    (@schwipps)



    It seems like the minified css file keeps the same filename.
    Is there a feature in Autoptimise to rename, or suffix CSS filenames, so that the previous visitors coming back to a website load the fresh CSS file?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frank Goossens

    (@futtta)

    It seems like the minified css file keeps the same filename.

    it does (should) not TM; the filename is based on an (md5) hash of the aggregated code (CSS), if the content changes, the hash changes along.

    hope this clarifies,
    frank

    Looking deeper in what was going on, it seems that our problem wasn’t related to Autoptimize.
    We had problems with an SVG sprite (called through CSS) we’ve been modifying.
    People having visited our website before the update had the new CSS, but the old svg.
    We solved the problem by renaming the SVG file.

    Thanks for your support!

    Plugin Author Frank Goossens

    (@futtta)

    you’re welcome TM, feel free to leave a review of the plugin and support here! 🙂

    have a nice day,
    frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.