Problem/Motivation
As identified in #2381277: Make Views use render caching and remove Views' own "output caching" we don't yet vary our caching by exposed sorts / items_per_page as well as offset.
Proposed resolution
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | 2487099-18.patch | 9.99 KB | plach |
| #17 | 2487099-17.patch | 11.77 KB | plach |
| #17 | 2487099-17.interdiff.txt | 834 bytes | plach |
| #15 | 2487099-15.patch | 8.23 KB | plach |
| #15 | 2487099-15.interdiff.txt | 1.91 KB | plach |
Comments
Comment #1
dawehnerFirst version with some test
Comment #2
dawehner.
Comment #4
dawehnerI hope this fixes some of the failures.
Comment #5
wim leersLooking good :)
Comment #7
wim leersLooks good. Only fixing a silly typo.
Comment #9
dawehnerFixed the test and expanded the test coverage a bit.
Comment #10
wim leersEven better!
Comment #12
dawehnerFailed ...
Comment #14
wim leersThat interdiff seems wrong; but no matter, it's still coming back red :(
Comment #15
plachThis is not failing locally.
Missing PHP docs, fixed.
Comment #17
plachDaniel suggested to remove the verbose flag
Comment #18
plachI wish I was able to roll patches...
(interdiff in #17 is correct)
Comment #19
dawehnerOtherwise this one feels RTBC
Comment #20
wim leersComment #21
alexpottIs this really required? Why not use assertEqual then?
Comment #22
wim leersBecause it's then easier to spot the errors.
Cache::mergeContexts()also sorts them, so IMHO it makes sense to also have the expectation that the contexts are sorted in tests, and if necessary, sort them.Comment #23
alexpott@Wim Leers fair enough - that makes sense.
This issue is a major task that will improve performance significantly and the disruption it introduces is limited. Per https://www.drupal.org/core/beta-changes, this is a good change to complete during the Drupal 8 beta phase. Committed 8e866ef and pushed to 8.0.x. Thanks!
Comment #26
cilefen commented