WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
How would a page like this be cached? (3 posts)

  1. J.D. Grimes
    Member
    Posted 2 years ago #

    Hi, I have WP Super Cache on my site which is currently under development. I am going to have a page that uses PHP to get the page contents from a database. In order to know what to get, it will be using the PHP $_GET function. But the URLs will be rewritten behind the scenes to look like /page/1, instead of /page.php?id=1. So my question is, will WP Super Cache cache the dynamically generated pages page/1, page/2, etc., or would it only cache page.php once?

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

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    If the REQUEST_URI is /page/1, /page/2 then it probably will be cached.

  3. J.D. Grimes
    Member
    Posted 2 years ago #

    Thank you for the reply, Donncha. I am going to set up a test and see if it works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic