[pmwiki-users] Speed up PmWiki
Patrick R. Michaud
pmichaud at pobox.com
Tue Aug 14 22:12:33 CDT 2007
On Wed, Aug 15, 2007 at 10:40:04AM +0800, Martin Spindler wrote:
> Patrick R. Michaud wrote:
> >I'm thinking I may extend $EnableHTML to also cache the
> >complete HTML output so that it can be grabbed via a
> >rewrite rule, but try to do it a bit smartly with respect
> >to other items (e.g., non-cacheable markups, permissions, etc.).
> >
> Good news :-) When do you think, such a build-in static export feature
> would be available?
I don't know -- I need to think about the design a bit more.
> What are non-cacheable markups?
There are a few markups that by their nature indicate that
caching shouldn't be performed. These include
markups that depend on the visitor's identity
{$Author}
{$AuthId}
(:if auth:)
markups that depend on the date or time of day
{(ftime now)}
{(ftime today)}
(:if date tomorrow:)
markups that are intended to produce different results every time
{(rand 15)}
(:pagelist order=random:)
{$RandomSection}
{$Captcha}
markups that include pages or content that might not
be available to all visitors
(:include ReadProtectedPage:)
{ReadProtectedPage$:PageTextVar}
Pm
More information about the pmwiki-users
mailing list