httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Baranovsky" <>
Subject [users@httpd] How can I force mod-cache to cache tomcat-generated pages with Pragma:no-cache?
Date Thu, 19 Oct 2006 17:23:38 GMT
Good day!

I have jetspeed 2 portal that runs over tomcat 5.5.20. I have
mod-rewrite module in front of tomcat. So, users of my portal enters
in browser user-friendly urls like

I want to cache all pages of my portal with 2 minutes expiration,
because content of my portal refreshes each 2 minutes.

I've configured mod-cache, but it doesn't caches tomcat pages.

Response for url:

(Status-Line):HTTP/1.1 200 OK
Date:Thu, 19 Oct 2006 16:33:08 GMT
Expires:Thu, 19 Oct 2006 17:35:37 GMT
Set-Cookie:JSESSIONID=F778F4A91E4A521BAF5B97A2E12F2817; Path=/jetspeed

Configuration properties of mod-cache:
        CacheRoot  /usr/local/www/cache
        CacheEnable disk /
        CacheMaxFileSize 4000000
        CacheDirLevels 5
        CacheDirLength 4
        CacheStoreNoStore On
        CacheStorePrivate On
        CacheIgnoreNoLastMod On
        CacheIgnoreCacheControl On

How can I cache tomcat-generated pages?


With best regards,
Vitaly Baranovsky

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message