Problem/Motivation

I have a project with a lot of directories and the time it takes to load the tree is noticeable. In the related issue, tree caching was mentioned.

Steps to reproduce

Proposed resolution

  • Cache the response data and invalidate cache only when taxonomy terms change

Remaining tasks

User interface changes

API changes

Data model changes

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

laurielim created an issue. See original summary.

laurielim’s picture

Issue summary: View changes

I wanted to use CacheableJsonResponse but the issue I had was that the route was uncacheable in my project so the proposed solution is to rely on cache.default service

laurielim’s picture

Status: Active » Needs review

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

rang501’s picture

Status: Needs review » Fixed

This is good idea and the change looked fine to me. Merged to 2.2.x

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.