You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The view currently has caching set to none to work around the problem that the Search API excerpt gets cached for a given highlight the first time it's viewed when set to tag-based caching. This issue was surfaced when running the database update introduced in Wrong query type & cache type on Search API Views [#3196990] via search_api-8.x-1.24.
Investigation should be done into how to vary the excerpt by the terms used, presumably via cache contexts. Re-rendering the view for every search performed will not scale well and puts unnecessary load on the server.
December 2022 update: this is beginning to be a bigger issue as search results can take quite a while generate and sometimes cause submitting the search form to hit the PHP time limit. There are two main issues here:
The view currently has caching set to none to work around the problem that the Search API excerpt gets cached for a given highlight the first time it's viewed when set to tag-based caching. This issue was surfaced when running the database update introduced in Wrong query type & cache type on Search API Views [#3196990] via search_api-8.x-1.24.
Investigation should be done into how to vary the excerpt by the terms used, presumably via cache contexts. Re-rendering the view for every search performed will not scale well and puts unnecessary load on the server.
December 2022 update: this is beginning to be a bigger issue as search results can take quite a while generate and sometimes cause submitting the search form to hit the PHP time limit. There are two main issues here:
Both of these need to be implemented/fixed to allow caching to work correctly.
The text was updated successfully, but these errors were encountered: