voyent
How to use browser-cache for iceface-js-libraries  XML
Forum Index -> JBoss Seam Integration
Author Message
johnsky

Joined: 24/Apr/2012 17:49:14
Messages: 3
Offline


Hallo!

In my environment I use a template.xhtml to include in all my pages. The problem is that this is coming with a lot of javascript-libraries and I wonder how to avoid the repeated download of this files (each browser-interaction (sic!)). In the firebug-view of 'network' you can see the status of all pix and libs. If the code is 200: it was downloaded, if it is 304: not downloaded!
But all the files always have the code 200. (http://getfirebug.com/wiki/index.php/Net_Panel)

I tried some meta-tags, but they also didn't work:
<meta http-equiv="CACHE-CONTROL" content="PUBLIC"/>
<meta http-equiv="PRAGMA" content="PUBLIC"/>
<meta http-equiv="expires" content="Tuesday, 1-Sep-15 14:25:27 UTC"/>


Environment:
iceface 1.8
Seam 2.2
JBoss 5.1

Any help is appreciated!

Thanks in advance

Best Regards,
Johannes
judy.guglielmin

Joined: 20/Feb/2007 00:00:00
Messages: 1396
Offline


are you by any chance using page parameters that might affect your resource links? That would cause the browser to think that the links had changed and would try to update them (?)
 
Forum Index -> JBoss Seam Integration
Go to:   
Powered by JForum 2.1.7ice © JForum Team