|
Re: org.eclipse.equinox.http.registry.resources - ability to cache rule [message #122405 is a reply to message #122350] |
Wed, 10 December 2008 18:59 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
|
Walter Prabhakar schrieb:
> It is possible to specify cache rule ( eg. private or public and max-age )
> for a specific resource ?
You should file an enhancement request for this. It's currently not
supported. But it should not be too difficult to add support for it.
As a workaround, you can create your own ResourceServlet which sends the
headers you want and exposes the resources you need.
> If not is there another way to enable the browser to cache the image files ?
The current implementation supports etag and the last-modified headers.
This should reply with a 304 to the browser for unmodified images so
that it uses the cached imaged.
-Gunnar
--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
|
|
|
Powered by
FUDForum. Page generated in 0.03835 seconds