[pmwiki-users] Slashdotting?

Patrick R. Michaud pmichaud at pobox.com
Mon May 14 15:58:37 CDT 2007


On Mon, May 14, 2007 at 01:46:14PM -0700, pmwiki at 911networks.com wrote:
> On Mon, 14 May 2007 14:51:29 -0500
> "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> 
> > However, it can't/won't cache pages that contain any
> > of:
> >   - {$Author}, {$AuthId}
> >   - (:if authid:)
> >   - (:if auth:)
> >   - (:noleft:), (:noright:), (:notitle:), (:noheader:),
> > (:nofooter:)
> >   - (:title:), (:keywords:), (:description:)
> >   - $[phrase]
> >   - date values such as 'today', 'now', 'yesterday', etc.
> > 
> 
> Could you explain why pages with - (:title:), (:keywords:),
> (:description:) would not be cached? :( 
> 
> These are static statements, entered by me/the user. 

These cannot be cached because they generate <meta ... />
tags in the <head> section of the resulting HTML, as opposed
to most other markups which appear in a continuous section
of the <body>.  So, in order to generate those entries
in the output HTML we have to actively process the markup.

Yes, it would be nice if there was a way for us to keep
track of any output that needs to be cached for the
<head> section, but there's also the issue that the
order of entries in <head> matters as well.  So, it's not
a simple problem.

Pm



More information about the pmwiki-users mailing list