#674: Give better caching directives for static files in web interface
------------------------+---------------------------------------------------
Reporter:  Nicolas      |       Owner:           
    Type:  enhancement  |      Status:  new      
Priority:  trivial      |   Milestone:  undecided
 Version:               |    Keywords:  jinja    
------------------------+---------------------------------------------------
 It looks like my web browser is requesting `/default.css` and
 `/bg_gradient.jpg` every single time I switch to a new page. Even if I use
 back and forward buttons, which don't cause the ''page'' to be requested
 again, it still requests again those two files.

 The requests properly use `If-Modified-Since`, and buildbot properly
 replies with `304 Not Modified`, but it's still annoying. Clutters the
 webserver log, for one.

 According to [http://redbot.org/ redbot], the responses are “stale” as
 soon as they go out. They should have an appropriate `Expires` header, or
 `Cache-Control: max-age=3600` (1 hour expiration from now).

-- 
Ticket URL: <http://buildbot.net/trac/ticket/674>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to