This project enhances the performance of Drupal's JSON:API by pre-warming the caches for your resource types. This ensures faster API responses and helps prevent performance issues.
Improves the performance of the JSON:API module by cache warming your resource types.
This project requires Drupal 8.8.
Configuration
Navigate to /admin/config/development/warmer/settings to select the resource types to warm.
Usage
Manually
You can warm caches manually at any given point. To do so navigate to /admin/config/development/warmer and check JSON:API Boost.
You can also execute:
drush warmer:enqueue jsonapi --run-queueAutomatically
During configuration you will be prompted to enter the Frequency of refresh. Every that often the caches for the JSON:API objects in the configured resources will be scheduled for re-fresh.
It is also a very good idea to include the manual warming to your post-deployment script. This way your Drupal install will come online with warm caches protecting your site from stampedes, and providing a good performance improvement.
drush warmer:enqueue jsonapi --run-queue
Ask your assistant about JSON:API Boost
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- JSON:API Extras
- Warmer
- jsonapi Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.4 | Stable | 9–10 | Jan 24, 2023 |