Re: cache-control

Usha Ladkani <[email protected]> Fri, 12 Aug 2016 10:36:11 +0530
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <CAPa2pYum_iZhtpYjv8WKN4sFvXTgNjJCDKbBiEobYyRaUAYNgw@mail.gmail.com>
--001a114abe1e56b0e60539d8d7a5
Content-Type: text/plain; charset=UTF-8

It says - JetspeedResources.properties,v 1.1.1326.2 2012/05/31 21:38:56

In this property I see below

#########################################
# 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=1


#########################################


Looks like this only can set Cache-Control to no-cache or max-age.:

Can you please tell me which version are you using and share your
JetspeedResources.properties

--001a114abe1e56b0e60539d8d7a5--