I\'m using a simple servlet filter that forces the browser to skip caching for some server resources:
Cache-Control: private
Pragma:
This work
Your initial solution did not work reliably because:
Pragma: header does not include a value. I'm not sure it's even legal - in terms of the HTTP protocol.