https://issues.apache.org/bugzilla/show_bug.cgi?id=48441
Summary: mod_cache re-caches URLs ending in '/' on each request
Product: Apache httpd-2
Version: 2.2.14
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_cache
AssignedTo: [email protected]
ReportedBy: [email protected]
it has come to my attention, that mod_cache automatically adds CACHE_SAVE and
CACHE_REMOVE_URL filters when a request is made towards a URL ending in '/'
(i.e. http://www.site.com/page/). There is no check whatsoever; the content is
cached automatically and hence not served from the cache. Here are some log
entries relevant to my problem:
[Thu Dec 24 02:01:34 2009] [debug] mod_cache.c(131): Adding CACHE_SAVE filter
for /energie/
[Thu Dec 24 02:01:34 2009] [debug] mod_cache.c(138): Adding CACHE_REMOVE_URL
filter for /energie/
[Thu Dec 24 02:01:34 2009] [debug] mod_cache.c(131): Adding CACHE_SAVE filter
for /index.php/energie/cache
[Thu Dec 24 02:01:34 2009] [debug] mod_cache.c(138): Adding CACHE_REMOVE_URL
filter for /index.php/energie/cache
[Thu Dec 24 02:01:34 2009] [debug] mod_headers.c(743): headers:
ap_headers_output_filter()
[Thu Dec 24 02:01:34 2009] [debug] mod_cache.c(663): cache: Caching url:
/index.php/energie/cache
[Thu Dec 24 02:01:34 2009] [debug] mod_cache.c(669): cache: Removing
CACHE_REMOVE_URL filter.
[Thu Dec 24 02:01:34 2009] [debug] mod_disk_cache.c(977): disk_cache: Stored
headers for URL http://www.mysite.com:80/index.php/energie/cache?
[Thu Dec 24 02:01:34 2009] [debug] mod_disk_cache.c(1066): disk_cache: Body for
URL http://www.mysite.com:80/index.php/energie/cache? cached.
Note that this entire procedure recurs every time the page /energie/ is
requested.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]