I've been searching for better solutions to prevent browser caching, and as far as I can tell, there are two possible solutions for this problem. One is to make the webapp force static file cache expiration by using a custom cache key. Matt Raible has a pretty old post on this, and I've seen Wicket developers comment on a similar issue with AJAX images being cached by the browser. It seems like anytime a file is referenced by url and not truly static, we should always be adding "?rand=123123" to the url. It's not exactly elegant, but it's very explicit. The other option seems to rely on configuring your webserver (like Apache) to know when to refresh the files, but I'm pretty clueless when it comes to webserver configuration.