Since the caching of facets in combination with Search API and Views has been improved, we should offer some more features.
Right now the cacheable metadata is gathered from the view, the search api query and facets' processors.
This works quite well for the defaults, but there's no possibility to force a more aggressive caching.
For example the language, the query parameters or the user's rights are mostly set as cache context.
Especially in cases you display a facet without the rendered source it might be possible to cache the facet regardless of these contexts.
So we should provide a possibility to force specific metadata.
Comment | File | Size | Author |
---|---|---|---|
#7 | 3282075_final.patch | 4.3 KB | mkalkbrenner |
#6 | 3282075_final.patch | 4.32 KB | mkalkbrenner |
#5 | 3282075_post_build.patch | 6.64 KB | mkalkbrenner |
Comments
Comment #2
mkalkbrennerComment #3
mkalkbrennerComment #4
mkalkbrennerHere's a better approach.
Comment #5
mkalkbrennerWrong patch. Here's the right one.
Comment #6
mkalkbrennerComment #7
mkalkbrennerComment #9
mkalkbrenner