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.
Static cache for File entities in D8 needs backport to D7
From issue https://www.drupal.org/node/1292374
TODO:
- add $reset parameter to file_load() and file_load_multiple(),
- use 'static cache' => TRUE by default in system_entity_info,
- improve tests with $reset parameter.
Comment | File | Size | Author |
---|---|---|---|
#8 | backport_file_static_caching-2678618-8-D7.patch | 12.24 KB | fortis |
Comments
Comment #2
fortis CreditAttribution: fortis as a volunteer and at Redditor commentedif you're able to review and test the patch, please do)
Comment #3
fortis CreditAttribution: fortis as a volunteer and at Redditor commentedComment #5
fortis CreditAttribution: fortis as a volunteer and at Redditor commentedsmall fixes, now it should pass
Comment #6
fortis CreditAttribution: fortis as a volunteer and at Redditor commentedComment #8
fortis CreditAttribution: fortis as a volunteer and at Redditor commentedadded $reset parameter in tests