• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IPLANET: Http Header

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic