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

Command icon 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

malcomio created an issue. See original summary.

suryabhi made their first commit to this issue’s fork.

malcomio’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

malcomio’s picture

Status: Fixed » Needs work

The cache is not invalidated when the applanding node is updated.

malcomio’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.