The value of Cache-Control and Expires in the HTTP header are ignored
for web pages that are considered local. This problem occurs for
WebPagePortlet and HTML portlet types.
The following JSP should not be cached, but it is by the WebPagePortlet
when the Jetspeed considers the page local. By contrast the portlet
JavaWeb is never cached and it is remote with an expiration date set in
the HTTP header.
<%@ page language="java"
import="java.util.Date" %>
<%
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<html>
<head>
<title>Time on the server</title>
</head>
<body>
<strong>The current time is <%= new Date() %></strong>
</body>
</html>
I have looked in the code, but I have not found where the Local cache
entries are created and expired. Ideas?
Paul Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]