• Hi

    I am in the process of building a private site for which I’d like to use full page caching using WP Super Cache. I would need to make sure that cached pages are only returned when a certain cookie is set. I know there are a few hooks, but I am struggling to understand at which point what happens. In particular, I am trying to understand the difference between Phase 1 and Phase 2? Is there a top line purpose for the two? In Phase 2 I can see references to garbage collection, updating posts when they’re edited, etc.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • In the past wp-cache-phase2.php wasn’t always loaded but now it is. The idea was that PHP wouldn’t need to load as much code to serve a cached page but it made it more complicated to do some things, like having to check if a function was available.

    Thread Starter mclaurent

    (@mclaurent)

    Ok great, that explains why they are split in two. Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Phase 1 vs Phase 2’ is closed to new replies.