mod_cache configuration issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

We've made progress with our caching situation. However, we've discovered a problem when caching for urls containing query strings.

When the url does not contain a query string, the object is cached as expected, and the debug logging supports this. On the other hand, when the url contains a querystring, it is not cached, and we get the following logging:

 [debug] mod_cache.c(509): cache: /users/123/games/360/headshot?test-token=testing not cached. Reason: Query string present but no expires header

We aren't able to modify the backend server to provide an expires header, so we tried to use the CacheIgnoreQueryString On option in the cache configuration. Now we get the following error on startup:

Invalid command 'CacheIgnoreQueryString', perhaps misspelled or defined by a module not included in the server configuration

This seems strange, since the server reports:

Server version: Apache/2.2.4 (Unix)
Server built:   May  3 2007 13:07:14

Which, as I understand it, should support this configuration. mod_cache, mem_cache and disk_cache were built as shared objects, so they don't show up on the httpd -l, but they are present in the modules directory. I've found google items on CacheIgnoreQueryString from January this year, so I imagine it must be a standard part of the sources we built.

Any ideas?

Also, if anyone has any ideas about how to add an expires header (we don't have mod_headers compiled into the server) I'd like to hear.

Thanks!
Wayne

--
2X7 -> %A-3+ -> %K-7+ -> %9-?+ -> %Q-8 -> ?9-?9+
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux