You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Daniel Farinha <da...@ktorn.com> on 2004/05/15 18:45:01 UTC
http.lifetime
Using Jetspeed 1.4, in JetspeedResources.properties there is the following
section:
#########################################
# HTTP Page header #
#########################################
# http.lifetime is the lifetime of the page as set in the
# HTTP Headers
# -1 = Do not set cache related headers (Jetspeed 1.3a1 behavior)
# 0 = set the following http headers
# Cache-Control = "no-cache"
# Last-Modified = (current time)
# Pragma = "no-cache"
# Expires = "0"
# n where n is the number of seconds:
# Cache-Control = "max-age: n" where n is the number of seconds
# Last-Modified = (current time)
# Expires = (current time + n seconds)
http.lifetime=0
The default setting of 0 (zero) is the closest to my needs, but there's the
detail of 'Expires'. I need the Expires to be in the past but after the year
2000 (due to limitations in the client software).
Is there any Jetspeed class that I can modify so that the default behaviour
(http.lifetime=0) actually sets the Expires to the date I require (in the
past)?
Regards
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
RE: http.lifetime
Posted by Daniel Farinha <da...@ktorn.com>.
Nevermind, just found it: JetspeedTemplatePage.java
-----Original Message-----
From: Daniel Farinha [mailto:daniel@ktorn.com]
Sent: 15 May 2004 17:45
To: 'Jetspeed Users List'
Subject: http.lifetime
Using Jetspeed 1.4, in JetspeedResources.properties there is the following
section:
#########################################
# HTTP Page header #
#########################################
# http.lifetime is the lifetime of the page as set in the # HTTP Headers #
-1 = Do not set cache related headers (Jetspeed 1.3a1 behavior)
# 0 = set the following http headers
# Cache-Control = "no-cache"
# Last-Modified = (current time)
# Pragma = "no-cache"
# Expires = "0"
# n where n is the number of seconds:
# Cache-Control = "max-age: n" where n is the number of seconds
# Last-Modified = (current time)
# Expires = (current time + n seconds)
http.lifetime=0
The default setting of 0 (zero) is the closest to my needs, but there's the
detail of 'Expires'. I need the Expires to be in the past but after the year
2000 (due to limitations in the client software).
Is there any Jetspeed class that I can modify so that the default behaviour
(http.lifetime=0) actually sets the Expires to the date I require (in the
past)?
Regards
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org