Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Liutauras Vilda
Paul Clapham
Sheriffs:
paul wheaton
Tim Cooke
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Piet Souris
Bartenders:
Mike London
Forum:
JSP
Browser Caching strategies
Tony Evans
Ranch Hand
Posts: 681
1
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am currently looking into Browser Caching strategies for browsers such as IE6 to IE9, Firdox chrome an so on.
We cant use nocache, but are looking at using Expires vs max-age, ETAG vs Last-modified.
I am looking for any good documentation or sites that would help me in my research.
So far with google I have got quite a lot of conflicting personal opinions.
Thanks for any help Tony
Tony Evans
Ranch Hand
Posts: 681
1
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well
testing
the browser in IE, FireFox Chrome, and Safari.
The following browser caching code worked.
if(cacheControl){ HttpServletResponse resp = (HttpServletResponse) response; resp.setHeader("Cache-Control", "max-age=0,must-revalidate"); //resp.setHeader("Expires", "Tue, 03 Jul 2001 06:00:00 GMT"); resp.setHeader("Last-Modified", new Date(inputFile.lastModified()).toString()); }
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Please help me finda book to have the fundamentals of associations and HQL/annotations clarified
Swing vs. Web vs. ...
ORM vs object serialization
Hibernate vs JDO
Stored Procedure VS normal Query
More...