Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    In a file you can set the global $cache_stop variable to tru and the generated page won’t be cached.

    Stefano.

    Thread Starter kalligator

    (@kalligator)

    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.

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, no, is not possible. mfunc is not supported.

    Thread Starter kalligator

    (@kalligator)

    Thank you for the clarification.
    Any chance Lite Cache or Hyper Cache will support this in the future?

    Plugin Author Stefano Lissa

    (@satollo)

    Sincerely I don’t think I’ll have time in the short period to code that…

    Stefano.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fragment caching possible?’ is closed to new replies.