xaraya_devel@xaraya.com
[Top] [All Lists]

Re: [Xaraya_devel] Page cacheing proposal

Subject: Re: [Xaraya_devel] Page cacheing proposal
From: Dan Miniyarov
Date: Fri, 20 Jul 2007 09:07:12 +0400
Jason wrote:

> What I would like to avoid is the opposite: having to fetch an authid just to
> prevent a page from being cached, because that happens to be the only way at
> present to switch the cache off.

May be the following call could be used to turn caching off:
xarCore_SetCached('Page.Caching', 'nocache', TRUE);

This is not a strictly right way too because this function is protected and 
should 
not be called outside of the core, as far as I understand. May be it could be 
more 
appropriate to create a public core function called xarCoreSwitchCachingOff() 
for example.


_______________________________________________
Xaraya_devel mailing list
Xaraya_devel@xxxxxxxxxx
http://xaraya.com/mailman/listinfo/xaraya_devel

<Prev in Thread] Current Thread [Next in Thread>