The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. jasonkong
    Posted 5 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
    Plugin Author

    Posted 5 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
    Posted 5 years ago #

    thanks, donncha. you are always of great help!

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