[users@httpd] How can I force mod-cache to cache tomcat-generated pages with Pragma:no-cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux