Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2026 at 13:08 UTC
Updated:
7 Aug 2026 at 13:17 UTC
Jump to comment: Most recent
Thirty resource plugins return a ResourceResponse, but cacheability metadata is applied inconsistently. Responses that omit cache tags and contexts are either never cached or, worse, cached and served stale after content edits.
CacheableMetadata with entity cache tags, list cache tags, and the relevant contexts (url.query_args, languages:language_content, user.permissions) to every response.MyrestResourceBase so each plugin collects metadata uniformly.Audit all resource plugins and add the missing metadata.
None.
Responses expose accurate cache headers.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented