> | Second, I send a mail some days ago, about styles not changing.
> | This turned out to be my fault(of course), as the pages where cached
> | and I was in turn looking at old pages.
> | The reason I did not detect this was because all site elements from the
> | midcom template, quite clearly said that caching was turned off by
> default.
> | My question is now, how do I turn off this bloody caching.
>
> Try the following at your <(code-global)> page element:
>
> ...
>
> // BEGIN MIDCOM INITIALIZATION
> if (!$midcom_site['initialization_failed']) {
>
> ~  //Cache disabled
> ~  $midcom_helper__cache_disable=true;
> ~  global $midcom_helper__cache_disable;

I think cacheing should be an administrative option to be set via MidCOM
AIS. It would be nice to have the opportunity to switch it of in devel stage
and turn it on again for production woithout roaming over snippets

Solt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to