|Anonymous | Login | Signup for a new account||03-07-2021 03:59 PST|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000144||[Resin]||minor||always||05-06-05 00:00||05-11-05 00:00|
|Priority||normal||Resolution||no change required|
|Summary||0000144: <cache-mapping> doesnt appear to work|
Placed these lines in resin.conf under <web-app id='/'>
Placed a proxy sniffer (devproxy) between the browser and the server to look at the response. When requesting things that match the url-pattern, for example "/foo.gif", I do not see an expires tag. I created a test.jsp and manually set the expires tag in the response to confirm I see that (I do).
Also, it is unclear from the documentation if Resin Open Source will respect the cache-mapping directives or if that falls in the category of Resin-pro only features.
|Additional Information||winxp, resin-pro-3.0.12 with 60 day dev license. jdk1.5.0_02|
Updated the documentation.
1. cache-mapping only works when <cache> is enabled. Otherwise it is ignored.
2. cache-mapping only works with cacheable pages with no Expires time, i.e. pages that have an ETag or Last-Modified.
If a page is not marked as cacheable (e.g. in a JSP that doesn't set headers), the cache-mapping does not apply.
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.|
26 unique queries executed.