A good first CDN release for WordPress is small. Move the photographs, theme files and scripts that everyone receives. Before adding HTML, ask an editor to publish a post, preview a draft and sign out. Those three actions reveal much of the site’s real cache policy.

Move public files first

Use a distribution that can reach your origin over HTTPS. Request an existing upload and a versioned theme asset through the delivery hostname. Compare their bodies, content types and final URLs. Check whether your theme uses query parameters to identify asset versions before removing any parameters from the cache key.

Let the editor test the boundary

Keep login, administration, drafts, password-protected content and authenticated sessions outside shared caching. Plugins can add new private paths and cookies. Test with an editor and a separate anonymous browser. The anonymous visitor must never receive preview text, an admin toolbar or the editor’s personalized fragments.

Sources & further reading

Reader questions

Should media uploads get a year of browser freshness?

Only when replacing a file changes its public URL. An editor who uploads a correction under the existing filename can leave readers with the previous image until its browser lifetime expires.