Problem/Motivation

Instead of always calculating getImageStylesBySupportStatus let's cache it and invalidate whenever image styles are added, updated, or deleted.

Steps to reproduce

Proposed resolution

Set cache of image styles with cacheable dependency on DAM config and image_style_list cache tag

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork acquia_dam-3539189

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

mglaman created an issue. See original summary.

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

rajeshreeputra’s picture

Status: Active » Needs review
japerry’s picture

Status: Needs review » Needs work

Needs a test

rajeshreeputra’s picture

Status: Needs work » Needs review

Added test coverage, requesting review.

rajeshreeputra’s picture

Code coverage is in place, requesting review.

amangrover90’s picture

Status: Needs review » 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.