WordPress.org

Support

Support » Plugins and Hacks » when logged-in user go to hompage/single post, Will plugin do cache that page ?

when logged-in user go to hompage/single post, Will plugin do cache that page ?

  • I mean there’s option ” Don’t cache pages for logged in users”

    so if logged in user visit homepage or some single post then wp must request everything new
    then will plugin cache that page at the time logged-in user visited or not? (for serve to other non log in user)

    example: single post A – cached time 14.07 (GC = 1 hours )

    – non log in user go to single post A time 14.20 = they see cache from 14.07

    – logged in go to single post A time 14.40 = they see fresh post (not cache), and this time – plugin rebuild cache ?? am i correct?

    – so new cache file for single post A = 14.40 (no 1 hour)

    – if that single post/home no logged-in user visit during 1 hour then cache file still keep for 3600 until expired

    ——–

    i suspect that why some single post and homepage not cache or cache file not store until 1 hour that because admin(logged-in) go to that page/homepage so plugin rebuild cache everytime admin visited that page

    wp wont eat more resource because wp must use resource when logged-in user visit that page already (no cache for logged-in)

    do i understand it correct?

Viewing 3 replies - 1 through 3 (of 3 total)
  • anyone know how plugin work?

    how plugin rebuild cache file?

    how plugin rebuild cache file when logged-in user visit that page?

    Why homepage’s new cache file alway create?

    Why some single post’s new cache file alway create?

    Download the development version and the homepage will be cached:
    http://downloads.wordpress.org/plugin/w3-total-cache.zip

    Set the expiry time to something like 100000
    I am wondering myself if we can set it to “0” to disable garbage collection

    Plugin Author Frederick Townes

    @fredericktownes

    Garbage collection should not be disabled. Cache files are rebuild when posts are modified or comments are appended or the cache file expires. By default logged in users never see cached pages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘when logged-in user go to hompage/single post, Will plugin do cache that page ?’ is closed to new replies.