Thanks for the responses, I think that caching pagelist is the right way to address the issue in general. I would like to read all the linked pages and responses before changing the site, but that should be a short process.
My only remaining concern is that, since my site is not that popular (I get 50-100 hist a day, mostly from searches), the 'site map' pages would not be cached often enough to be fresh. That leaves several possibilities: 1. PmWiki checks the 'freshness' of the cache and dynamically recreates the pagelist, which gives the right result but takes a while to get there. So we are back at square one. 2. PmWiki uses the existing, old, cache. This resolves the slow pagelist generation, but gives erroneous page list. I am pretty sure the cache will be refreshed if it is older than a given date. 3. A manual solution - I could manually refresh the cache by pressing on the site map pages every day, or create a cron job to wget the site map pages every morning. This way, the pagelist will be relatively current. Either way, I can't think of a better way to handle the situation that to cache the pagelist, and the fact that my site is both slow and relatively low traffic is not PmWiki's problem... If anyone cares to tell more about how the cache feature is implemented, it will enlighten me and possibly others. Thanks again, Z. On Sun, Jan 2, 2011 at 10:34 AM, Ben Wilson <[email protected]> wrote: > Forgot to include the group. Wow, that's different than before. > > On Sun, Jan 2, 2011 at 11:33 AM, Ben Wilson <[email protected]> wrote: > > Based on your comments, it looks like what you're trying to do is > > cache your comments. It appears PageList has that feature. Does this > > satisfy your need? > > > > http://www.pmwiki.org/wiki/PmWiki/PageLists#pagelistcache > > > > On Sat, Jan 1, 2011 at 11:08 PM, Steve G. <[email protected]> wrote: > >> Happy New Year, everyone! > >> > >> I am seeking advice about creating navigation aids for my wikis. > >> > >> Here is a quick background: I have a wiki farm running on an ancient > >> computer. It has 3 sites: > >> > >> 1. www.words2u.net which redirects to http://www.words2u.net/pmwiki/ > >> 2. www.words2u.net/recipes > >> 3. www.words2u.net/spanish > >> > >> To facilitate using the site, I created 'site maps' - dynamically > generated > >> wiki pages, which contain a pagelist for each group I want to include. > For > >> example, on recipes, there is a site map page, > >> http://www.words2u.net/recipes/index.php?n=Recipes.Recipes which > include a > >> line for each group as follows: (:pagelist group=Breads list=normal > >> order=-ctime fmt=#title -Template:) > >> > >> I tried a list for all groups in the site using (:pagelist list=normal > >> order=-ctime fmt=#title -Template:), but then the list does not break > the > >> recipes and does not even list the groups, only the page names. So it is > >> hard to tell what is a bread and what is a soup, etc. (I may be ignorant > of > >> the way to create a better list structure, as I am not much of an expert > in > >> pmwiki, so feel free to advise on the proper usage of pagelist.) > >> > >> NOW to the question: > >> > >> The main site has a large number of pages, and the site map, > >> http://www.words2u.net/pmwiki/?n=Home.SiteMap, takes a long time to > generate > >> dynamically. It is not a traffic issue, as the problem exists also in > the > >> local network. Rather, it is a processing issue. I get much faster > response > >> with pages that have images much larger in size. > >> > >> I would like to be able to create a static page with the same content, > which > >> will be updated daily, or whenever a new page is created. Is there a way > in > >> pmwiki to have such a page? Maybe a script that will run the pagelist > with > >> the same parameters as the current page, and write to an existing page, > or > >> create a new one. > >> > >> Thanks, > >> > >> Z. > >> > >> > >> -- > >> Check out my web site - www.words2u.net > >> > >> _______________________________________________ > >> pmwiki-users mailing list > >> [email protected] > >> http://www.pmichaud.com/mailman/listinfo/pmwiki-users > >> > >> > > > > > > > > -- > > Ben Wilson > > "We cannot determine the character or nature of a system within > > itself. Efforts to do so will only generate confusion and disorder." > > Boyd > > > > > > -- > Ben Wilson > "We cannot determine the character or nature of a system within > itself. Efforts to do so will only generate confusion and disorder." > Boyd > -- Check out my web site - www.words2u.net
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
