[pmwiki-users] Core and question marks
Martin Fick
mogulguy at yahoo.com
Mon Aug 28 15:51:23 CDT 2006
--- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> On Mon, Aug 28, 2006 at 10:12:01AM -0700, Martin
> Easier/better might be to make it an attribute of
> the Group.Attributes page.
>
> A downside of using tags or attributes on wikipages
> to indicate virtual groups is that every call to
> PageExists()
> for non-existent page would then have to read and
> process the GroupAttributes and/or GroupHeader
> page of the group, which could get expensive.
> Of course, the information could be cached, I
> suppose, which would help.... but sometimes I worry
> about the amount of memory PmWiki's internal caches
> are taking up.
>
> Currently PageExists just uses a simple filesystem
> check, which is of course much faster.
If it were simly an attribute but the caching
mechanism were simply a hidden file with the name of
the group, i.e: .Virtual then your lookup would
still just be a simple filesystem check and would not
consume any memory. Just a thought...
-Martin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the pmwiki-users
mailing list