WordPress.org

Forums

WP Super Cache
WP Super Cache Breaks flush_rules() (3 posts)

  1. Insurgo
    Member
    Posted 2 years ago #

    I have a plugin that uses $wp_rewrite->flush_rules(); to flush the rule cache but whenever WP Super Cache is enabled the page will stop running at that line, comment it out and it works fine, disable the plugin and it works with that line in.

    Has anybody else run across this problem?

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Viscosity
    Member
    Posted 2 years ago #

    Beside that, i just ponder if it has the option to purge the cache otherwise it will keep increasing in size. Perhap it work like cache proxy. I still feel that it perhap may not be good for dynamic webpage content. Apart from that, i feel that it is a great plugin.

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    @Insurgo - I'm afraid that's not a common problem. I haven't seen it. Have you tried debugging wp-include/rewrite.php? The flush_rules() function is in there.

    @Viscosity - garbage collection will purge old files on a regular basis and there are facilities for caching dynamic parts of pages.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic