• I have a random photo generator that I’d like to use in conjunction with WP-Cache. I’ve inserted the following code per the WP-Cache documentation:

    <!--mclude shuffle.php-->
    <?php include_once(ABSPATH . 'shuffle.php'); ?>
    <!--/mclude-->

    The shuffle.php file generates the html for the random photos. The problem is that WP-Cache still caches the photos. Thus, even on a refresh, the same photos are presented (not dynamic). Everything works as expected when WP-Cache is disabled (random photos are properly generated).

    Any suggestions?

  • The topic ‘WP-Cache and mclude’ is closed to new replies.