In a file you can set the global $cache_stop variable to tru and the generated page won’t be cached.
Stefano.
Thanks for the reply, I tried this and the result was I was getting a new cache everytime I was visiting a post.
Let me be a little more clear about what I mean by “I tried this”.
I have an ad plugin that is executed with a command like echo adrotate_group(1) and this produces one ad out of a defined group of ads.
I put this command in a php file and then include it in the template.
If I also put something like define('DONOTCACHEPAGE', true); inside that php file, other caching plugins allow to cache the rest of the template output but keep the included file output dynamic.
So I tried puting
global $cache_stop;
$cache_stop = true;
in that included php file as well and the result was like I said earlier, a new cache getting generated on every visit.
Hi, no, is not possible. mfunc is not supported.
Thank you for the clarification.
Any chance Lite Cache or Hyper Cache will support this in the future?
Sincerely I don’t think I’ll have time in the short period to code that…
Stefano.