WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
[resolved] Force Cache Delete when I run a script (4 posts)

  1. sincewelastspoke
    Member
    Posted 2 years ago #

    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/

  2. sincewelastspoke
    Member
    Posted 2 years ago #

    OK, so if anyone's interested, I basically deleted the contents of the 'cache' directory after the C# script was executed.

    Easy as pie :)

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Yup, you'd have to do a recursive delete of the whole lot!

  4. sincewelastspoke
    Member
    Posted 2 years ago #

    Thanks sir - all sorted now :D

    Well done on an epic bit of work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic