Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module improves Drupal's JSON response capabilities by simplifying debugging and enhancing JSON:API support. It allows disabling the JSON response cache directly from the admin interface and enables displaying any entity in JSON:API format with the option to include related data.

CacheableJsonResponse is a powerful tool that can easily enhance the performance of your headless site.

However, it has two main drawbacks:

  • Debugging challenges: If you encounter an issue, you need to replace CacheableJsonResponse with JsonResponse or clear the cache after every change, which can be cumbersome.
  • JSON:API format limitation: It doesn’t support displaying entities in the JSON:API format.

This module solves both problems:

  • Simplified debugging: By using the BetterJsonResponse class instead of CacheableJsonResponse, you can disable the JSON response cache directly from the back office with a single checkbox.
  • Enhanced JSON:API support: You can now display any entity in JSON:API format, with the ability to add includes as needed.

Activity

Total releases
2
First release
Dec 2024
Latest release
5 days ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Release date
1.0.1 Stable Jul 12, 2026
1.0.0 Stable Dec 7, 2024