• Hello,
    I am running the FireStats and WP-cache plugins on my blog. My problem is that FireStats will only count a page hit if the page is not cached by WP-cache. Since my pages are often cached, it is not counting a lot of the hits. Is there a way to work around this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ahrenba

    (@ahrenba)

    Any suggestions?

    From the wp-cache faq:

    How do I make certain parts of the page stay dynamic?

    It’s compatible with Staticze Reloaded. From their FAQ:

    There are two ways to do this, you can have functions that say dynamic or include entire other files. To have a dynamic function in the cached PHP page use this syntax around the function:

    <!–mfunc function_name(‘parameter’, ‘another_parameter’) –>
    <?php function_name(‘parameter’, ‘another_parameter’) ?>
    <!–/mfunc–>`

    The HTML comments around the mirrored PHP allow it to be executed in the static page. To include another file try this:

    <!–mclude file.php–>
    <?php include_once(ABSPATH . ‘file.php’); ?>
    <!–/mclude–>`

    That will include file.php under the ABSPATH directory, which is the same as where your wp-config.php file is located.

    -d

    try the workaround described here:
    https://firestats.cc/ticket/24

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with FireStats and WP-cache’ is closed to new replies.