Title: Problem with stale cache?
Last modified: August 24, 2016

---

# Problem with stale cache?

 *  Resolved [mjb2000](https://wordpress.org/support/users/mjb2000/)
 * (@mjb2000)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/problem-with-stale-cache/)
 * Hopefully you’ve seen the [Facbook photo display method I described here](https://wordpress.org/support/topic/example-displaying-all-facebook-page-photos).
 * I have noticed a problem with caching. When I set-up the plugin I enabled 20 
   minutes cache and all seemed fine, displaying the 3 photos I expected. Now I 
   have added 2 more photos these are not displayed unless I disable caching. If
   I disable caching then the new photos are seen, but if I re-enable caching, even
   just set to 2 minutes it reverts to just showing the 3 original photos.
 * I should mention this happens when using your shortcode directly, and my Post
   Snippets based method of simplifying things.
 * It seems as if once a cache has been created it is never replaced. Any idea what
   might be going on?
 * **Steps to re-create:**
    - Pull JSON stream with 3 items
    - 3 items are displayed – CORRECT
    - enable caching = 20 minutes
    - 3 items are displayed – CORRECT
    - Wait 30 minutes
    - Add 2 items to JSON stream (now 5 items)
    - 3 items are displayed – INCORRECT
    - disable caching
    - 5 items are displayed – CORRECT
    - re-enable caching at @ 2 minutes
    - The original 3 items are displayed – INCORRECT
 * [https://wordpress.org/plugins/json-content-importer/](https://wordpress.org/plugins/json-content-importer/)

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

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/problem-with-stale-cache/#post-6000335)
 * Hi,
 * thank you. I’ll try to validate that.
 * Bernhard
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/problem-with-stale-cache/#post-6000524)
 * Hi, you’re right!
 * anyone who’s using the cache should update to Version 1.2.1!
 * Thank You!

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

The topic ‘Problem with stale cache?’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/problem-with-stale-cache/#post-6000524)
 * Status: resolved