Problem/Motivation
The JSON endpoints are not currently cacheable
Steps to reproduce
1. create an applanding page via /node/add/applanding
2. visit the JSON endpoint for the page - e.g. if your app ID value is monday, this would be at /spalp/monday/json
3. check the response headers
Proposed resolution
\Drupal\spalp\Controller\AppLandingJsonController should provide a cacheable response.
When the associated node is updated the cache should be invalidated.
Issue fork spalp-3594181
Show commands
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 #5
malcomio commentedComment #7
malcomio commentedThe cache is not invalidated when the applanding node is updated.
Comment #10
malcomio commented