It's not a secret anymore!
The moose likes JSP and the fly likes Browser Caching strategies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Browser Caching strategies" Watch "Browser Caching strategies" New topic

Browser Caching strategies

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 594

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

Joined: Jun 29, 2002
Posts: 594
Well testing the browser in IE, FireFox Chrome, and Safari.

The following browser caching code worked.

It is sorta covered in the JavaRanch Style Guide.
subject: Browser Caching strategies
jQuery in Action, 3rd edition