WP REST Cache
Are you facing speed issues, using the WordPress REST API? This plugin will allow WordPress to cache the responses of the REST API, making it much faster. This plugin offers: Caching of all default WordPress REST API GET-endpoints. Caching of (custom) post type endpoints. Caching of (custom) taxonomy endpoints. Automated flushing of caches if (some of) its contents are edited. Manual flushing of all caches. Manual flushing of specific caches. A counter how many times a cache has been retrieved. Specifying after what time the cache should be timed out. Registering custom endpoints for caching. Automatic cache regeneration. WP REST Cache Pro For more advanced features, check out our WP REST Cache Pro plugin: Configure custom endpoints for caching through the wp-admin interface. Configure relationships within endpoints. No coding required. Installation from within WordPress Visit ‘Plugins > Add New’ (or ‘My Sites > Network Admin > Plugins > Add New’ if you are on a multisite installation). Search for ‘WP REST Cache’. Activate the WP REST Cache plugin through the ‘Plugins’ menu in WordPress. Go to “after activation” below. Installation manually Upload the wp-rest-cache folder to the /wp-content/plugins/ directory. Activate the WP REST Cache plugin through the ‘Plugins’ menu in WordPress. Go to “after activation” below. After activation Visit ‘Plugins > Must-Use’ (or ‘My Sites > Network Admin > Plugins > Must-Use’ if you are on a multisite installation). Check if the ‘WP REST Cache – Must-Use Plugin’ is there, if not copy the file wp-rest-cache.php from the /sources folder of the WP REST Cache Plugin to the folder /wp-content/mu-plugins/. Optionally: The default timeout for caches generated by the WP REST Cache plugin is set to 1 year. If you want to change this: Visit ‘Settings > WP REST Cache’. Change the Cache timeout.
WPGraphQL Smart Cache
Do you want your API data fast or accurate? With WPGraphQL Smart Cache, you can have both. WPGraphQL Smart Cache is a free, open-source WordPress plugin that provides support for caching and cache invalidation of WPGraphQL Queries. To get the most out of this plugin, we recommend using GET requests with Network Caching, which requires your WordPress install to be on a supported host. Note: WPGraphQL Smart Cache is now part of the WPGraphQL monorepo. All releases, issues, and discussions are managed in the main repository. BREAKING CHANGES: We may make breaking changes in the future to improve functionality and experience. If we do, we will use semver to do so. Pay attention to release notes and upgrade notices before updating. Video Overview Docs Overview Quick Start Features Network Cache Object Cache Persisted Queries Cache Invalidation Extending / Customizing Functionality FAQ and Troubleshooting Known Issues Providing Feedback Upgrading It is recommended that anytime you want to update WPGraphQL Smart Cache that you get familiar with what’s changed in the release. WPGraphQL Smart Cache publishes release notes on GitHub. Look for releases tagged with wp-graphql-smart-cache/v*. WPGraphQL Smart Cache will follow Semver versioning. The summary of Semver versioning is as follows: MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes. You can read more about the details of Semver at semver.org Privacy Policy WPGraphQL Smart Cache uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements. Appsero SDK does not gather any data by default. The SDK only starts gathering basic telemetry data when a user allows it via the admin notice. We collect the data to ensure a great user experience for all our users. Integrating Appsero SDK DOES NOT IMMEDIATELY start gathering data, without confirmation from users in any case. When you opt in, each telemetry request is sent to Appsero and a duplicate is sent in a non-blocking request to WPGraphQL-operated infrastructure at https://telemetry.wpgraphql.com (the same categories of data as described for Appsero below). Learn more about how Appsero collects and uses this data.