Title: WP-Cache and mclude
Last modified: August 19, 2016

---

# WP-Cache and mclude

 *  [rogermh](https://wordpress.org/support/users/rogermh/)
 * (@rogermh)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/wp-cache-and-mclude/)
 * 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.

## Tags

 * [mclude](https://wordpress.org/support/topic-tag/mclude/)

 * 0 replies
 * 1 participant
 * Last reply from: [rogermh](https://wordpress.org/support/users/rogermh/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/wp-cache-and-mclude/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
