Title: [Plugin: WP Web Scraper] Problem with cache not expiring
Last modified: August 20, 2016

---

# [Plugin: WP Web Scraper] Problem with cache not expiring

 *  [Bill Dennen](https://wordpress.org/support/users/xyzzy/)
 * (@xyzzy)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-problem-with-cache-not-expiring/)
 * Hi, we’ve been using your plugin for many months, without any problems. However,
   with the most recent update, we have run into many instances where the cache 
   is not expiring — as a result, the scraping page is not updated, even though 
   the original page has changed.
 * I’ve set the cache timeout to various times (0, 1, 30 minutes). Nothing seems
   to help.
 * For what it’s worth, we upgraded from the old version of the plugin.
 * Is there a way to nuke the cache manually? We’d like to do this if possible to
   see if this solves the problem.
 * thanks.
 * [http://wordpress.org/extend/plugins/wp-web-scrapper/](http://wordpress.org/extend/plugins/wp-web-scrapper/)

Viewing 1 replies (of 1 total)

 *  [cgiliam](https://wordpress.org/support/users/cgiliam/)
 * (@cgiliam)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-problem-with-cache-not-expiring/#post-2340727)
 * I had the same problem for several months and couldn’t find a solution online.
   
   Until there’s a bugfix I’ve change the plugin-source a little bit.
 * Edit the plugin under “Installed Plugins” and open the functions.php file.
    Lookup
   the function wpws_remote_request.
 * Removed the last if-statement by adding // at the beginning:
 * // if ( false === ( $cache = get_transient($transient) ) ) {
 * Also mark the last else-statement as a comment:
 * /*
    } else { $cache = get_transient($transient); $cache[‘headers’][‘source’] 
   = ‘Cache’; return $cache; } */
 * After these small changes it suddenly started working again.
    It doesn’t matter
   anymore what your cache-setting is, since it’s now ignored.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Web Scraper] Problem with cache not expiring’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-web-scrapper.svg)
 * [WP Web Scraper](https://wordpress.org/plugins/wp-web-scrapper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-web-scrapper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-web-scrapper/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-web-scrapper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-web-scrapper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-web-scrapper/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [cgiliam](https://wordpress.org/support/users/cgiliam/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-problem-with-cache-not-expiring/#post-2340727)
 * Status: not resolved