On Wed, Jul 19, 2006 at 10:58:43AM +0200, Rolf Schaufelberger wrote:
> Hi, 
> 
> I've just  installed rt3.6  and saw a lot of requests done by Firefox. 
> Looking 
> a bit deeper  at it I saw, that it was fetching all the .css, .js and images 
> all the time. Looking at the cache I saw, the 'Expires' date was set on 
> 1970-... . So I changed my autohandler in NoAuth/css to 

Thanks. We've already made a similar fix for 3.6.1.


> <%once>
> use HTTP::Date;
> </%once>
> <%init>
> $r->content_type('text/css');
> $r->header_out('Expires', HTTP::Date::time2str (time + 180 * 24*3600 ));
> $m->call_next();
> return();
> </%init>
> 
> and in NoAuth/js accordingly and now Firefox renders the pages  much faster !
> Maybe this helps somebody else.
> 
> Regards
> 
> plusW
> Rolf Schaufelberger 
> [EMAIL PROTECTED]
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: [EMAIL PROTECTED]
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
> 
> We're hiring! Come hack Perl for Best Practical: 
> http://bestpractical.com/about/jobs.html
> 

-- 
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

Reply via email to