Title: [Plugin: WP Super Cache] Force Cache Delete when I run a script
Last modified: August 20, 2016

---

# [Plugin: WP Super Cache] Force Cache Delete when I run a script

 *  Resolved [sincewelastspoke](https://wordpress.org/support/users/sincewelastspoke/)
 * (@sincewelastspoke)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-super-cache-force-cache-delete-when-i-run-a-script-1/)
 * Hi,
 * I have a system that uses both C# and WordPress code.
 * Is it possible in my C# script after an action has been taken (form submitted)
   that I can delete the entire cache generated by SuperCache?
 * Thank you for any pointers.
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

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

 *  Thread Starter [sincewelastspoke](https://wordpress.org/support/users/sincewelastspoke/)
 * (@sincewelastspoke)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-super-cache-force-cache-delete-when-i-run-a-script-1/#post-2735006)
 * OK, so if anyone’s interested, I basically deleted the contents of the ‘cache’
   directory after the C# script was executed.
 * Easy as pie 🙂
 *  Plugin Author [Donncha O Caoimh (a11n)](https://wordpress.org/support/users/donncha/)
 * (@donncha)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-super-cache-force-cache-delete-when-i-run-a-script-1/#post-2735193)
 * Yup, you’d have to do a recursive delete of the whole lot!
 *  Thread Starter [sincewelastspoke](https://wordpress.org/support/users/sincewelastspoke/)
 * (@sincewelastspoke)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-super-cache-force-cache-delete-when-i-run-a-script-1/#post-2735194)
 * Thanks sir – all sorted now 😀
 * Well done on an epic bit of work.

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

The topic ‘[Plugin: WP Super Cache] Force Cache Delete when I run a script’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [sincewelastspoke](https://wordpress.org/support/users/sincewelastspoke/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-super-cache-force-cache-delete-when-i-run-a-script-1/#post-2735194)
 * Status: resolved