struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Struts 1, Glassfish browser caching
Date Thu, 03 Mar 2011 23:13:56 GMT
On Thu, Mar 3, 2011 at 5:39 PM, Nancy and Jeff Hibbs
<jeffandnancyhibbs@yahoo.com> wrote:
> Using Struts 1, with glassfish.  I want to force (or, I guess, suggest) to
> the browser to cache all js and image files for at least 1 hour.  we're using
> jqry and some other .js files that repeatedly get sent to the browser for no
> reason, along with the static image files.   Most of the page is dynamic, so I
> can't cache the whole page, just the static elements.

Are you specifically setting no-cache headers/pragmas? Not too many
browsers will re-request static resources these days. Are you getting
a not modified header back?

In any case, this doesn't have anything to do with Struts at all.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message