Template chooser problems solved

A few of you have reported problems with the template chooser plugin in the past, where new selected templates would only show their true design after you've manually refreshed the page (F5 in most browsers).

The root of this problem was that browser cached the CSS stylesheet on their own, without making HTTP requests to check for changes. Since serendipity uses URL rewriting to achieve pretty URLs for stylesheets, this interfered with the one-time caching of stylesheets, even though their contents changed.

As a workaround, I've just committed a fix to our repository of the nightlies and an upcoming 0.9.2 maintenance release. This change makes the plugin always use a URL that contains the name of the stylesheet, and thus works around the caching issue by emitting individual stylesheets.

Trackbacks

Trackback specific URI for this entry

  • No Trackbacks

Comments

Display comments as (Linear | Threaded)

No comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

BBCode format allowed
Markdown format allowed