开发者

How to override firefox cache?

开发者 https://www.devze.com 2023-03-27 17:28 出处:网络
I\'m using Firefox to view my applets, but when I make changes it\'s still the old version that Firefox is displaying.The only way I can change the version Firefox is showing me is by changing the nam

I'm using Firefox to view my applets, but when I make changes it's still the old version that Firefox is displaying. The only way I can change the version Firefox is showing me is by changing the names of the html AND the .class or jar files. Ctrl Shift R is开发者_StackOverflow社区n't working.


<meta http-equiv="Cache-control" content="no-cache" /> in the <head> tag should cause Firefox (or any browser for that matter) to not cache anything at all on that particular page.


Test applets in the appletviewer whenever possible. It does not cache classes.

For deployment, deploy them via JNLP whenever possible (user has Next Generation JRE) for more reliable class update.


Try linking it with myapplet.class?somerandomstring. Then the Browser thinks "maybe its generated dynamically, so i need to reload it". At least with images it works very well.


Ctrl+Shift+Del and then select cache checkbox with the interval you want to clear from the top of the window. Then click OK button.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号