These are called a number of times in search results - caching saves us some processing
Created attachment 190466 [details] [review] Bug 41440: Add caching to language_get_description and get_rfc4646_from_iso639 This should have no visible effect, just internal caching To test: 1 - Do a search, check the language facets 2 - Apply patch, restart all 3 - Do a search, check the language facets 4 - No change 5 - Sign off
Created attachment 190477 [details] [review] Bug 41440: Add caching to language_get_description and get_rfc4646_from_iso639 This should have no visible effect, just internal caching To test: 1 - Do a search, check the language facets 2 - Apply patch, restart all 3 - Do a search, check the language facets 4 - No change 5 - Sign off Signed-off-by: David Nind <david@davidnind.com>
Testing notes (using KTD): 1. Language facet only shows up in the staff interface and OPAC when using Elasticsearch.