WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
pages are not cached in preload mode (3 posts)

  1. jasonkong
    Member
    Posted 3 years ago #

    I just upgrade to the latest version, and then found this problem.
    in preload mode, only posts are cached. pages are not.
    it shows preload completed as soon as posts are cached.
    i allowed page cache.

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 3 years ago #

    The latest version selects only posts I'm afraid. I'll see about fixing it but if you want to change the SQL that selects those posts look at line 2453 of wp-cache.php

    Change "WHERE post_type = 'post'" to "WHERE (post_type = 'post' OR post_type='page')"

    Does that help?

  3. jasonkong
    Member
    Posted 3 years ago #

    thanks, donncha. you are always of great help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic