Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gokobox

    (@gokobox)

    Thank you, i’ll do it.

    Update: I think I found the problem.
    I’m trying to use a function from a plugin that queries the database. But to place this function in a mclude or mfunc, everything works on the first load page. When deleting the browser caché and reloading the page, this die showing a blank page.

    How I can make queries to the database using mfunc or mclude? Is this possible?

    Thank you

    Thread Starter gokobox

    (@gokobox)

    Update:
    Well, none of the methods (mfunc or mclude)mentioned by Frederick in the FAQ work.
    Even with a minimum of code as an echo rand ();
    Ex: <!-- mfunc echo rand(); --><!-- /mfunc -->
    work on the first page load but show blank pages to refresh.

    <!-- mfunc -->echo rand();<!-- /mfunc -->
    shows echo rand();

    I prefer mclude but does not work.
    Does anyone use fragment caching? Does it work?

Viewing 2 replies - 1 through 2 (of 2 total)