Ticket #1823 (new enhancement)

Opened 1 year ago

Last modified 1 year ago

CPSSkins ImageBox and CPSPortlets Image Portlet produce browser non-cacheable images

Reported by: madarche Assigned to: jmorliaguet
Priority: P3 Milestone: CPS 3.5.0
Component: CPSSkins Version: TRUNK
Severity: normal Keywords: optimization
Cc:

Description

One uses the CPSSkins ImageBoxes? and Image Portlets to have theme a web site. Those resources are thus heavily used and constrain performances.

Unfortunately those resources are neither influenced by the Caching Policy Manager (located at the CPS root), neither selectable (through the associate tab) for Cache Manager.

Thus one cannot set such thing as RESPONSE.setHeader('Cache-Control', 'max-age=36000') to the request just as we do for Filesystem Images.

Change History

03/20/07 15:25:21 changed by madarche

JMO says it might be related to http://zope.org/Collectors/CMF/454 but ImageBox? uses OFS.Image.

03/20/07 15:26:42 changed by madarche

  • keywords changed from optmization to optimization.

03/20/07 16:08:28 changed by madarche

  • priority changed from P2 to P3.
  • type changed from defect to enhancement.

To be more precise, there are "Last-Modified" cache headers which result in web browser queries being answered by "304 Not Modified" responses. Caching reverse proxies such as Varnish or Squid can use those informations, thus making this bug less important.