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
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 #4
rajeshreeputraComment #5
japerryNeeds a test
Comment #6
rajeshreeputraAdded test coverage, requesting review.
Comment #7
rajeshreeputraCode coverage is in place, requesting review.
Comment #9
amangrover90 commented