WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Disable caching in certain cases? (2 posts)

  1. Ben L.
    Member
    Posted 6 years ago #

    I would like to be able to make the WordPress Mobile Edition plugin skip caching pages completely, so it would not cache, nor would it load cached pages if the user was using a mobile browser. Is there any way to do this?

  2. MegaZone
    Member
    Posted 6 years ago #

    I'm sure there is a way, and I'd like to do the same thing. Part of the problem is not serving the cached pages to mobile devices. That part is relatively simple - you'd put exclusion rules in .htaccess so that any matching user agents are not redirected by the Super Cache rules. And the same list would go into the Rejected User Agents list to prevent WP Cache from caching the requests.

    But mobile devices would still get WP Cache files, there needs to be a way to prevent that too. And I'm not sure if the Super Cache code obeys the Rejected User Agents list too, of if that only controls the WP Cache piece.

Topic Closed

This topic has been closed to new replies.

About this Topic