Keep a Dynamic Sidebar From Being Cached in WordPress

WordPress sidebar using Content No Cache and WP Fastest Cache so a rotating image remains dynamic while the rest of the page stays cached.

A rotating sidebar can work perfectly until full-page caching is enabled. For example, suppose PHP randomly chooses one of several sidebar images whenever a WordPress page loads: Without page caching, the next page request can produce Image D, then Image A, and so on. After enabling WP Fastest Cache, however, the generated page HTML is … Read more