I tried
<static-files>
<include path="/**.png" expiration="31d" />
<include path="/**.jpg" expiration="31d" />
<include path="/**.css" expiration="31d" />
</static-files>
but in fact I see my css file being served with header Cache-
Control=private so not cached! Any ideas?
Also how to I distinguish
(a) cache for 31days unless modified; from
(b) cache for 31days without even checking if-modified each time.
Finally I have some non-static files - servlets - which could be
safely cached even if modified (for example autocomplete data for a
search box does not always have to be up-to-the-second). How can I get
servlet content to be cached.
I tried setting a header max-age=3600 from inside the servlet but the
browser ignores it and always requests a fresh copy. Any ideas please?
Thanks
Marc.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.