[richfaces-issues] [JBoss JIRA] Created: (RF-2104) Static RF resources are not cached in browser (Cache-Control max-age=0, no-store, no-cache)

Przemyslaw Jaskierski (JIRA) jira-events at lists.jboss.org
Tue Jan 29 08:32:59 EST 2008


Static RF resources are not cached in browser (Cache-Control max-age=0, no-store, no-cache)
-------------------------------------------------------------------------------------------

                 Key: RF-2104
                 URL: http://jira.jboss.com/jira/browse/RF-2104
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.3
         Environment: Tomcat 6.0.14
            Reporter: Przemyslaw Jaskierski
            Priority: Critical
             Fix For: 3.1.4


I have a lot of RF components on a page. Using YSlow nad Firebug I figured out that all these per-component .js files are not cached by Firefox (and any other browser, because of these headers returned:

Server	Apache-Coyote/1.1
Last-Modified	Tue, 29 Jan 2008 13:20:53 GMT
Cache-Control	max-age=0, no-store, no-cache
Pragma	no-cache
Expires	0
Content-Type	text/javascript
Transfer-Encoding	chunked

For a complex page this adds several hundreds of kB EVERY time page is load (normal HTTP, not HTTPS request).
Since RF version id prefix is added to every such resource I see no reason why RF is not allowing to cache these resources for ever...



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list