Skin CSS gets reloaded everytime (on the first opened page)
-----------------------------------------------------------

                 Key: RF-8093
                 URL: https://jira.jboss.org/jira/browse/RF-8093
             Project: RichFaces
          Issue Type: Bug
          Components: core
    Affects Versions: 3.3.2.SR1
         Environment: Tomcat 6.0.18, Firefox 3.5.5 / IE 7, MyFaces 1.2.5
            Reporter: Bozhidar Bozhanov


On the first opening of a page (either after a server restart, or after 
clearing the cache), all the css files are re-fetched on _every_ ajax-request 
made by the page. Of course, this made at least some sense since my style 
loading strategy param wasn't set. I set it to "ALL", and then only the skin 
CSS is loaded on each ajax request. Whenever I made an ordinary request (i.e. 
change navigation), the browser perhaps caches the css and it isn't fetched 
anymore. (In my case the skin is laguna.). What could be the reason for this? 
Perhaps XmlHTTPRequest isn't able to cache the incoming CSS?
As I'm writing, I remembered one important detail - the issue manifest itself 
with <a4j:support /> which has an action attribute set. If it doesn't have an 
action - the css is not re-fetched.
So perhaps 2 issues - one with not fetching the skin css even if 
LoadStyleStrategy is set to ALL, and the second - <a4j:support with action 
causes re-fetching of css.

Sorry for the chaotic presentation ;)

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to