WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. chadrew
    Member
    Posted 2 years ago #

    Hello,
    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.

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

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 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

About this Topic