Bug#564857: mod_cache: unreasonable caching with mixed GET/POST requests to the same URL
Package: apache2-mpm-event
Version: 2.2.14-5
Severity: normal
Hi!
When doing a GET-POST-GET sequence to an URL backed by an scgi application
server, and cached by mod_mem_cache, the first GET will hit the app server,
resulting in correct output. Apache caches this output. The next POST will
hit the app server again (which is still correct), Apache does not cache
this output.
The final GET will not hit the app server, and apache will serve the
request from the cache, returning the output of the first GET.
Expected behaviour:
The POST should at least invalidate the cached result, or it's result should be
cached.
kind regards:
Gábor
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32.3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2-mpm-event depends on:
ii apache2.2-bin 2.2.14-5 Apache HTTP Server common binary f
ii apache2.2-common 2.2.14-5 Apache HTTP Server common files
apache2-mpm-event recommends no packages.
apache2-mpm-event suggests no packages.
Reply to: