This content has been marked as final.
Show 4 replies
-
1. Re: Any way to prevent caching of pages with Seam?
clerum Oct 6, 2009 10:05 PM (in response to oneworld95)One solution is to use the <header> in pages.xml for a specific page.
<page view-id="/admin/your_page.xhtml"> <description>Admin Page</description> <header name="Cache-Control" value="no-cache, no-store, max-age=0, must-revalidate" /> </page>
or for all your pages
<page view-id="*"> <header name="Cache-Control" value="no-cache, no-store, max-age=0, must-revalidate" /> <navigation> <rule if-outcome="home"> <redirect view-id="/home.xhtml" /> </rule> </navigation> </page
-
2. Re: Any way to prevent caching of pages with Seam?
oneworld95 Oct 6, 2009 11:12 PM (in response to oneworld95)Thanks, Cody. I wonder if that works in Firefox; it seems to be finicky about this sort of thing.
-
3. Re: Any way to prevent caching of pages with Seam?
oneworld95 Oct 7, 2009 2:55 PM (in response to oneworld95)As I feared, Firefox (version 3.5.3) ignores this and caches the page anyway.
-
4. Re: Any way to prevent caching of pages with Seam?
clerum Oct 7, 2009 4:17 PM (in response to oneworld95)Sounds like a firefox bug.