Title: Prevent Browser Caching
Last modified: October 28, 2019

---

# Prevent Browser Caching

 *  [pb75](https://wordpress.org/support/users/pb75/)
 * (@pb75)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/prevent-browser-caching/)
 * Hi, I’m wondering how it is possible to prevent Browser Caching. I use randomcontent
   as a Amazon Product Sidebar. It loads another product on every page I load. But
   if I open the same page again, it shows the same product it was shown last time
   I opened this specific page (even if I load it the next day).
    If I manually 
   reload the page in the browser, it shows another product. So I guess displaying
   the same product is coming from browser cache. Is there a way to tell the browser
   to not cache the randomcontent part of my site?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fprevent-browser-caching%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jeremy Green](https://wordpress.org/support/users/endocreative/)
 * (@endocreative)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/prevent-browser-caching/#post-12085474)
 * What are you using to cache your site?
 *  Thread Starter [pb75](https://wordpress.org/support/users/pb75/)
 * (@pb75)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/prevent-browser-caching/#post-12089021)
 * I use autoptmize. But I found out it’s different behavior in different browsers.
   I also activated WP-Optimize with cache disabled but static header for 2 hours.
   My goal would be: caching the static content but not the randomcontent.
 *  Plugin Author [Jeremy Green](https://wordpress.org/support/users/endocreative/)
 * (@endocreative)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/prevent-browser-caching/#post-12089037)
 * I’d recommend reaching out the plugin developer and seeing if they have a solution
   for that inside their plugin.
 *  Thread Starter [pb75](https://wordpress.org/support/users/pb75/)
 * (@pb75)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/prevent-browser-caching/#post-12090181)
 * Ok, thanks!

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

The topic ‘Prevent Browser Caching’ is closed to new replies.

 * ![](https://ps.w.org/random-content/assets/icon-256x256.png?rev=3454855)
 * [Random Content](https://wordpress.org/plugins/random-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/random-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/random-content/)
 * [Active Topics](https://wordpress.org/support/plugin/random-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/random-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/random-content/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [pb75](https://wordpress.org/support/users/pb75/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/prevent-browser-caching/#post-12090181)
 * Status: not resolved