Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 79073 invoked from network); 10 Aug 2007 20:09:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2007 20:09:36 -0000 Received: (qmail 33456 invoked by uid 500); 10 Aug 2007 20:09:24 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 33440 invoked by uid 500); 10 Aug 2007 20:09:24 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 33429 invoked by uid 99); 10 Aug 2007 20:09:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 13:09:24 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of icebattle@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Aug 2007 20:09:20 +0000 Received: by wa-out-1112.google.com with SMTP id k22so939878waf for ; Fri, 10 Aug 2007 13:09:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=FtEdAe4Ro+erxnATxotSaRdalKDRNlvdOi0jC3bgzBzWe1+Cfg5dHzDwdM5n9Zc2cBMX9yGsasEI+vo0jVVm9+YfqzCDNjgN1oG6SR1F44LetqRFbuVwqcmyUHs2B6j9ac/nwjxUua5Ocv83GtTva5CbNgSO0LE8sK8SYXvbSN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ItvKp3KAgLJVIz6bTqr/PVQQE4fIS0u3rvnt+V9qBvWgO+N321nipOrgnO8deVec3eC4Q+mpVkPwPZEfgVaYnz/djFEVgbUZobVKIxjhPZcEtMUN8+WoHgGZrgENiO1B7Ebd0soAeAHWuy9V7LsRYFKJa8umrKWt29vilmZ0Xx0= Received: by 10.114.196.1 with SMTP id t1mr2892925waf.1186776540048; Fri, 10 Aug 2007 13:09:00 -0700 (PDT) Received: by 10.115.22.5 with HTTP; Fri, 10 Aug 2007 13:09:00 -0700 (PDT) Message-ID: Date: Fri, 10 Aug 2007 13:09:00 -0700 From: wi To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23007_180713.1186776540027" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_cache configuration issue ------=_Part_23007_180713.1186776540027 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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+ ------=_Part_23007_180713.1186776540027 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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+ ------=_Part_23007_180713.1186776540027--