httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Baranovsky" <vitaly.baranovsk...@gmail.com>
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
'http://news.mycompany.net/xxx.html'

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: http://news.mycompany.net:

(Status-Line):HTTP/1.1 200 OK
Date:Thu, 19 Oct 2006 16:33:08 GMT
Server:Apache-Coyote/1.1
Cache-Control:no-cache,no-store,private
Pragma:no-cache
Expires:Thu, 19 Oct 2006 17:35:37 GMT
Content-Type:text/html;charset=UTF-8
Set-Cookie:JSESSIONID=F778F4A91E4A521BAF5B97A2E12F2817; Path=/jetspeed
Transfer-Encoding:chunked


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?

Thanks!

-- 
With best regards,
Vitaly Baranovsky

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message