Use CacheableJsonResponse instead of JsonResponse for notification callback responses

Created on 15 April 2020, over 4 years ago
Updated 18 May 2024, 6 months ago

Problem/Motivation

Page caching and Dynamic caching modules are caching notification callbacks even when setting the max age to 0.

Proposed resolution

Use CacheableJsonResponse instead of JsonResponse for notification callback responses.

Remaining tasks

Patch.

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

None

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024