Calling setCacheable(false) on WebResource don't change header properties in 
WebResponse
----------------------------------------------------------------------------------------

                 Key: WICKET-750
                 URL: https://issues.apache.org/jira/browse/WICKET-750
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta2
         Environment: Linux Ubuntu / Eclipse 3.2 / jdk 5.0
            Reporter: Pierre Coquentin
            Priority: Minor


        
protected void setHeaders(WebResponse response)
        {
                if (isCacheable())
                {
                        // If time is set also set cache headers.
                        response.setDateHeader("Expires", 
System.currentTimeMillis() + (3600 * 1000));
                        response.setHeader("Cache-Control","max-age=" + 3600);
                }
        }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to