[ZCM] [ZC] 196/ 4 Resolve "Zope management interface: manage_page_style.css is not cacheable."

Collector: Zope Bugs, Features, and Patches ... zope-coders@zope.org
Mon, 15 Apr 2002 09:08:16 -0400


Issue #196 Update (Resolve) "Zope management interface: manage_page_style.css is not cacheable."
 Status Resolved, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/196

==============================================================
= Resolve - Entry #4 by htrd on Apr 15, 2002 9:08 am

 Status: Accepted => Resolved

Both changes are in the trunk, ready for 2.6
________________________________________
= Comment - Entry #3 by htrd on Apr 12, 2002 10:52 am

We probably should make similar changes to ImageFile; Every request for a management interface page currently causes a '304' response for each image on the page.
________________________________________
= Accept - Entry #2 by htrd on Apr 12, 2002 9:59 am

 Status: Pending => Accepted

 Supporters added: htrd

propose adding header:
Cache-Control:public, max-age=3600
so that:
1. it can be stored in shared caches
2. it wont be fetched more than once per hour
________________________________________
= Request - Entry #1 by Anonymous User on Feb 5, 2002 2:49 pm

The file manage_page_style.css is referenced from every page of Zope management interface and currently browsers reload it every time a html page is requested. The problem is that it is generated from DTML template and HTTP response doesn't include caching info. The simplest solution is to make it a File object.
==============================================================