Fork me on GitHub

Don't suppose there is a #compojure channel?


@leov great question. I don't know myself, but from my own adventures in web stuff, if you have a favicon that you need updated by the cache you can do a fun trick like add ?v=2 or ?v=3 to the string. If you had an incremental javascript file name, I think the same behavior would apply. Hackier than ring middleware, but may have the desired effect.


( favicon.ico?v=3 ... etc) will force a new download of the favicon. (just to elucidate more concretely)