Title: Do not cache dynamic widget?
Last modified: August 20, 2016

---

# Do not cache dynamic widget?

 *  [redwall](https://wordpress.org/support/users/redwall/)
 * (@redwall)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/do-not-cache-dynamic-widget/)
 * Hi,
 * Thanks a lot for a great plugin.
 * On my home page I am using a widget which displays the latest recent posts. It
   only shows 3 at a time and is set to random mode to pull in from a list of about
   30. So each refresh it shows a different 3.
 * When I have the cache enabled it just shows the same 3 over and over again.
 * Is there a way to not cache this particular widget?
 * There are 2 ways I can implement the widget on the home page
 * 1) I can do it in the php file and add the widget php code to my index.php
 * 2) In my index.php I could call / include a page which has just this widget in
   it.
 * Is there a way to block either one of these scenarios from being cached but still
   caching the rest of the home page?
 * Go Raibh Maith Agat
 * Red
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

The topic ‘Do not cache dynamic widget?’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [redwall](https://wordpress.org/support/users/redwall/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/do-not-cache-dynamic-widget/)
 * Status: not resolved