aspose file tools*
The moose likes Other Java Products and Servers and the fly likes IPLANET: Http Header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "IPLANET: Http Header " Watch "IPLANET: Http Header " New topic
Author

IPLANET: Http Header

Raja Sathci
Greenhorn

Joined: Sep 16, 2005
Posts: 10
Hi,
I currently have a iplanet web server where the etag and last_modified headers gets added by default.
But however i have added 2 lines to remove these headers
Output fn="set-variable" remove-srvhdrs="last-modified"
Output fn="set-variable" remove-srvhdrs="etag"

and have added the below line to add max-age header
Output fn="set-variable" set-srvhdrs="Cache-Control: max-age=60"

Now when i restart Iplanet webserver, i dont see the last modified, etags headers anymore. I can see the max-age header.
But when i do a refresh for a particular page the contents are not from cache instead, it gives me a 200 requets, meaning it goes to
webserver each time.

could anyone please help in fixing this.How to make the caching work with just the max-age headers.

Regards,
Raja
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IPLANET: Http Header
 
Similar Threads
Setting header for cache
iPlanet 7.0 "The internet explorer was not able to open this internet site"
Request Object
Caching
Apache Cache headers and 301