Thanks That helped me to find out the issue . The issue was Cache-Control header was not set
<Files ~ "\.html$"> Header set Cache-Control "max-age=60, public" SetHandler perl-script PerlResponseHandler MyApp::HtmlHandler::handler </Files> But now I get this in debug log, seems like its caching each time Cached response for /specs/Template.html isn't fresh. Adding/replacing conditional request head Shibi Ns On Tue, Aug 11, 2009 at 4:46 PM, Eric Covener <cove...@gmail.com> wrote: > On Tue, Aug 11, 2009 at 5:25 AM, Shibi NS<shibi...@gmail.com> wrote: > > > > I have the following configuration in my httpd.conf > > > > LoadModule cache_module modules/mod_cache.so > > LoadModule disk_cache_module modules/mod_disk_cache.so > > LoadModule perl_module modules/mod_perl.so > > > > CacheEnable disk /specs/ > > CacheRoot /data/cache/ > > SetEnvIfNoCase request_uri \.html$ gzip cache-enable=disk > > > > <Files ~ "\.html$"> > > SetOutputFilter DEFLATE > > SetHandler perl-script > > PerlResponseHandler MyApp::HtmlHandler::handler > > </Files> > > > > Where MyApp::HtmlHandler::handler converts an xml file to html if it not > > exits else serve the existing html file . But I don't see file is getting > > cached when try accessing http://<myserevr>:<myport>/specs/Template.html > > > > > > Any clues? , I am missing some con-fig steps ? > > LogLevel debug might tell you why it's not cached. > > -- > Eric Covener > cove...@gmail.com > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- --Shibi Ns--