[pmwiki-users] Recipe to create random pages stopped working on pmwiki.org - caching issue?

StefCT stefct4 at gmail.com
Sun Dec 18 14:23:39 CST 2016

On 12/18/2016 06:52 PM, Petko Yotov wrote:
> On 2016-12-18 13:05, StefCT wrote:
>> In the section "Create new template based page with random name" within
>> my recipe "Template Markup Tricks" I show a way to create new PmWiki
>> pages with random names (using timestamps and random numbers):
>> http://www.pmwiki.org/wiki/Cookbook/TemplateMarkupTricks#RandomPageName
>> However, I've noticed that this doesn't work (anymore) on www.pmwiki.org
>> (while it still works fine with all my own PmWiki installations).
>> On pmwiki.org, whenever I reload the recipe page, I get a link to the
>> same random new page and not - as intended - to a new one (using a new
>> timestamp and a new random number).

> Also, if any page on the website is modified between reloads, for
> example if a user does create the random page, a subsequent reload will
> no longer show the cached version. The fact that the random number is
> cached by one browser session will not prevent the functionality you
> need (creating randomly named pages).

I've tested this and can confirm that it works.

I've added a short note to Cookbook/TemplateMarkupTricks-Talk, pointing
to this mailing list thread.

Thank you very much, Petko!

Kind regards,


GPG-Fingerprint: 96D4 3C3B F279 6760 AC89 5432 E2D7 FFA7 BB30 B036

More information about the pmwiki-users mailing list