Expensive

Hard to scale

Works well

Easy to understand

Always load all of WordPress

Not very performant

advanced-cached.php implements a page cache for WordPress

Loaded after 1% of WordPress is loaded

1. Generate a page with "nocache" tags
2. Save an associated piece of meta data if there are any "nocache" tags
3. Serve the page

If metadata does not exist, strip the tags and display

If metadata exists, generate the block

4. Add "is_user_logged_in" for user variants
Has potential to be quite fast

Uses core standards

"callback" method is may present problems

1. Save a page template

Embed ESI tags in the template

2. Load page template from Varnish, Akamai, Squid
3. Render ESIs
Load dynamic elements without any PHP

Adheres to WordPress standards

Many partials can lead to many WordPress loads

There is no right answer

There are a lot of wrong answers

Each app needs its own technique