-
1. Re: Expires headers for Richfaces css and javascript files
wbervoet Mar 13, 2008 5:33 AM (in response to wbervoet)bump :)
-
2. Re: Expires headers for Richfaces css and javascript files
sergeysmirnov Mar 13, 2008 1:04 PM (in response to wbervoet)no way right now. will be in the future.
-
3. Re: Expires headers for Richfaces css and javascript files
damianharvey Jun 21, 2008 7:17 AM (in response to wbervoet)Sergey,
Do you know which version this feature will be present in?
I thought that it might be covered by the org.ajax4jsf.DEFAULT_EXPIRE parameter but this doesn't appear to have any effect.
Cheers,
Damian. -
4. Re: Expires headers for Richfaces css and javascript files
damianharvey Jun 26, 2008 6:18 AM (in response to wbervoet)I should have searched the JIRA first - this feature was added to the 3.2.1 release http://jira.jboss.org/jira/browse/RF-2506
Cheers,
Damian. -
5. Re: Expires headers for Richfaces css and javascript files
martinjozef Jun 26, 2008 11:47 AM (in response to wbervoet)I also looked into how to compress scripts and css in richfaces
as YSlow also gave me an F grade for Gzip Compression http://developer.yahoo.com/performance/rules.html#gzip
I know that richfaces has parameters for script compress and css but these don't seem to have any effect.
can RichFaces collaborate on this..... -
6. Re: Expires headers for Richfaces css and javascript files
damianharvey Jun 26, 2008 12:06 PM (in response to wbervoet)I've noticed that most of the Richfaces scripts and css *are* gzipped but not if they are under a certain size eg < 2k. I assume that this is because the overhead of zipping and unzipping would render any gains void.
I'm using the default settings and have my jboss instance doing the gzipping.
Cheers,
Damian. -
7. Re: Expires headers for Richfaces css and javascript files
sergeysmirnov Jun 26, 2008 5:20 PM (in response to wbervoet)gzipping content is out of scope for RichFaces. I.e. if it is done, it is done on the level of your server. Serach for 2k limit there. The only thing RichFaces does is removing extra spaces (tabs) and comments from the scripts and style sheets.