WP Super Cache
Fragment caching (mfunc) with mod_rewrite (2 posts)

  1. chadrew
    Posted 3 years ago #

    WP Super Cache readme states that you can't use mod_rewrite when using fragment caching (keeping certain parts of the page dynamic with mfunc/mclude) - you have to switch to either PHP or legacy mode. Interestingly enough, I used mfunc with mod_rewrite mode and everything seems to be working correctly.

    Is there any difference? I mean, does WPSC simply revert to PHP for all files, or is it actually smart enough to serve files without dynamic parts using mod_rewrite, and files which have mfunc in them using PHP - if that's even possible?

    Everything seems to be working fine either way so I'm just asking out of curiosity, hope you don't mind.


  2. Donncha O Caoimh
    Plugin Author

    Posted 3 years ago #

    The development version can use supercached files with dynamic content (and has to use PHP caching) but your site is using the old wp-cache way of serving cached files. Your site isn't using mod_rewrite to serve those files. PHP Has to run to execute that dynamic code.

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