Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Drupal\views\ViewsData::__construct
gets the configuration, no matter whether this service is actually used
Proposed resolution
- Discuss whether the setting is helpful in the first place. You could have a custom cache bin, if you really care
- In case its actually helpful, at least move the config get to be lazy.
Comments
Comment #1
dawehnerYeah #2541074: Get rid of using 'views.settings':skip_cache in ViewsData sounds like a duplicate, *ouch*
Comment #10
LendudeYeah lets close this as a duplicate of #2541074: Get rid of using 'views.settings':skip_cache in ViewsData, bit more work done there