Title: [Plugin: IDrive for WordPress] Feature request: exclude cache folder
Last modified: August 19, 2016

---

# [Plugin: IDrive for WordPress] Feature request: exclude cache folder

 *  Resolved [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-idrive-for-wordpress-feature-request-exclude-cache-folder/)
 * Hi,
 * Liking the simplicity of the plugin, I would like to ask that it automatically
   excludes /wp-content/cache/ and all its sub-folders (if they exist) from any 
   backup.
 * There are a few caching plugins around that create this folder and store a huge
   amount of files there that really do not need to be in any backup! These files
   constantly change and unable to exclude any folders, these take up much resources(
   both time and space) for nothing.
 * Thanks!
 * [http://wordpress.org/extend/plugins/idrive-for-wordpress/](http://wordpress.org/extend/plugins/idrive-for-wordpress/)

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

 *  [pinoyca](https://wordpress.org/support/users/pinoyca/)
 * (@pinoyca)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-idrive-for-wordpress-feature-request-exclude-cache-folder/#post-1569183)
 * +1.
 * Even if this is to your business disadvantage, I hope you fulfill this wish.
 *  [pinoyca](https://wordpress.org/support/users/pinoyca/)
 * (@pinoyca)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-idrive-for-wordpress-feature-request-exclude-cache-folder/#post-1569184)
 * RavanH, in case you are interested, I inserted the following line after line 
   948 of `idrive-for-wordpress/idrive.php` (version 1.0.7)
 *     ```
       if ( preg_match('/wp-content\/cache/', "$dir".DIRECTORY_SEPARATOR."$entry" ) ) continue; // skip wp-content/cache folder
       ```
   
 *  Plugin Author [idrivee](https://wordpress.org/support/users/idrivee/)
 * (@idrivee)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-idrive-for-wordpress-feature-request-exclude-cache-folder/#post-1569186)
 * RavanH, Pinoy.ca
 * We will consider this request for the next release. Thank you for your input.
 * Regards,
    Diganta
 *  Plugin Author [idrivee](https://wordpress.org/support/users/idrivee/)
 * (@idrivee)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-idrive-for-wordpress-feature-request-exclude-cache-folder/#post-1569198)
 * RavanH, Pinoy.ca,
 * We have implemented the exclude option in the latest release (1.1.0).
 * IDrive Support
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-idrive-for-wordpress-feature-request-exclude-cache-folder/#post-1569201)
 * Excellent! Thanks 🙂

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

The topic ‘[Plugin: IDrive for WordPress] Feature request: exclude cache folder’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/idrive-for-wordpress.svg)
 * [IDrive for Wordpress](https://wordpress.org/plugins/idrive-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/idrive-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/idrive-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/idrive-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/idrive-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/idrive-for-wordpress/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-idrive-for-wordpress-feature-request-exclude-cache-folder/#post-1569201)
 * Status: resolved