Kinsta has added to the list of tasks that can be accomplished with the Bulk Actions feature available to Managed WordPress Hosting customers. With just a few clicks, you can now enable or disable Edge Caching across multiple website environments.
Edge Caching can be enabled and disabled for individual sites within the MyKinsta dashboard. The latest addition to Bulk Actions adds this functionality to the cross-site updaters that already include:
- Clearing site caches
- Updating plugins
- Updating themes
- Changing PHP versions
- Exporting site information to CSV
- Changing MyKinsta’s site labels
How to bulk-update Edge Caching status in MyKinsta
To enable or disable Edge Caching for multiple website environments, select WordPress Sites in MyKinsta’s main menu and then use the checkboxes on the left-hand side of the sites list to choose the environments you want to update.
When environments have been selected, an Actions button and a count of the number of selected environments will appear above the sites list:
Select Change edge caching from the Actions menu. You will be asked whether you want to Enable or Disable edge caching on the targeted environments:
<img class="size-full wp-image-180538" src="https://kinsta.com/wp-content/uploads/2024/05/bulk-action-change-edge-caching-dialog.png" alt="Screenshot of the dialog used to select which Edge Caching Bulk Action to perform: Enable or Disable.” width=”893″ height=”312″ /> Choosing whether to Enable or Disable Edge Caching as a Bulk Action.Click the Change edge caching button to launch the Bulk Action.
Remember that Edge Caching is available only for live sites and environments with the Premium Staging Environment add-on. The Change edge caching Bulk Action will not affect free staging environments.
Perform bulk zctions with the Kinsta API
You can create your own bulk-action tools for WordPress sites using the Kinsta API. The API provides a gateway to managing WordPress sites, as well as Web Applications, Managed Databases, and Static Sites hosted by Kinsta.
Currently, you can’t enable or disable Edge Caching via the API, but you can use it to clear content from edge caches and the Kinsta CDN, just as you can with the Bulk Actions feature in MyKinsta.
Here’s an example of an application that uses the Kinsta API for multi-site plugin updates.