Skip to content

Code deployment and cache clearing

Clearing the entire object cache or page cache for a site can negatively effect the site’s performance, particularly during a high traffic event. For this reason, when a code deployment occurs only a select group of cache clearing events will occur:

  • Code deployment to a WordPress environment will not cause the object cache to be flushed.
  • Code deployment to a Node.js or WordPress environment will not clear the page cache for a site’s cached content responses.
  • Code deployment will cause the cache to be cleared for any static asset files that exist within the environment’s deploying branch and the deployment included updated versions of those files.

Last updated: June 25, 2024

Relevant to

  • Node.js
  • WordPress