Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 86039 invoked by uid 500); 10 Feb 2003 23:15:27 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 86022 invoked from network); 10 Feb 2003 23:15:27 -0000 Received: from goldfisch.at (62.99.149.138) by daedalus.apache.org with SMTP; 10 Feb 2003 23:15:27 -0000 Received: from goldfisch.at (localhost.localdomain [127.0.0.1]) by goldfisch.at (8.12.1/8.12.1) with ESMTP id h1ANEI2C017252 for ; Tue, 11 Feb 2003 00:14:18 +0100 Received: (from pilsl@localhost) by goldfisch.at (8.12.1/8.12.1/Submit) id h1ANEHdB017249 for users@httpd.apache.org; Tue, 11 Feb 2003 00:14:17 +0100 From: pilsl@goldfisch.at Date: Tue, 11 Feb 2003 00:14:17 +0100 To: users@httpd.apache.org Message-ID: <20030210231417.GB22454@goldfisch.at> References: <20030210171538.GA22454@goldfisch.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030210171538.GA22454@goldfisch.at> User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] check if mod_cache is working ? sorry. While I checked the logs I didnt check the right logs !! The right logs say (LogLevel debug) [Tue Feb 11 00:10:51 2003] [debug] mod_cache.c(118): cache: URL /cgi-bin/t.pl is being handled by mem,mem [Tue Feb 11 00:10:51 2003] [debug] mod_cache.c(202): cache: no cache - add cache_in filter and DECLINE [Tue Feb 11 00:10:51 2003] [debug] mod_cache.c(436): cache: running CACHE_IN filter [Tue Feb 11 00:10:51 2003] [debug] mod_cache.c(582): cache: response is not cachable So mem_cache is obviously working but not caching this special object. I'll look into this. sorry again, peter On Mon, Feb 10, 2003 at 06:15:38PM +0100, pilsl@goldfisch.at wrote: > I enabled mod_expire and mod_mem_cache in my config. > > A simple perl-script loads content from a database and prints it. > > If mod_cache is enabled and all headers are correct, then the script > should only be executed once and later requests to this script should > be answerered from mem-cache. > > test is simple: > i) request > ii) change content in database > iii) request again > > The result is, that there is no caching in progress. > > ======================== > $ wget -S -O - x1.goldfisch.at/cgi-bin/t.pl > --18:11:22-- http://x1.goldfisch.at/cgi-bin/t.pl > => `-' > Connecting to x1.goldfisch.at:80... connected! > HTTP request sent, awaiting response... 200 OK > 2 Date: Mon, 10 Feb 2003 17:10:08 GMT > 3 Server: Apache > 4 Cache-Control: max-age=86400 > 5 Expires: Tue, 11 Feb 2003 17:10:08 GMT > 6 Connection: close > 7 Content-Type: text/html; charset=UTF-8 > 8 > > 0K -> > PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN" > "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"> > Unicodetest > > > new content
> should not be seen now :)
> > > > ================================ > > > The config is: > > global: > CacheEnable mem / > MCacheSize 4096 > MCacheMaxObjectCount 100 > MCacheMinObjectSize 1 > MCacheMaxObjectSize 2048 > > > vhost: > ExpiresActive On > ExpiresDefault "access plus 1 days" > CacheEnable mem / > > > anyone has an idea ? Is there something wrong in my config or > something wrong in my thinking ? > > thnx > peter > > > -- > mag. peter pilsl > IT-Consulting > tel: +43-699-1-3574035 > fax: +43-699-4-3574035 > pilsl@goldfisch.at > http://www.goldfisch.at > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > -- mag. peter pilsl IT-Consulting tel: +43-699-1-3574035 fax: +43-699-4-3574035 pilsl@goldfisch.at http://www.goldfisch.at --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org