[dokuwiki] Re: Why css.php?

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 10 May 2006 15:34:07 +0100

Joe Lapp wrote:

My understanding is that:

- The URL is the cache key
- The HTTP headers have to specify the downstream caching behavior

If true, then for caching to be possible, then it seems that css.php must produce the same stylesheet for all pages on the site, including plugin inclusions, and Dokuwiki has to produce special headers for css.php
The URL isn't the cache key.

At anyone time, css.php will produce only one style sheet. If plugins, template or configuration changes a new stylesheet is required. Different users looking at different pages all get the same stylesheet. As Ben mentioned in his reply, the http headers are now set and should be working to allow the browser to use its cached version when appropriate.

Cheers,

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: