Disable WordPress Core’s term cache priming
A feature of WordPress Core that primes the term and/or meta caches after certain queries can result in performance issues and much longer than normal transaction times.
Ready to get started with WordPress VIP? Contact us
Showing page 13 of 17
A feature of WordPress Core that primes the term and/or meta caches after certain queries can result in performance issues and much longer than normal transaction times.
When the VIP_ENABLE_VIP_SEARCH_QUERY_INTEGRATION
constant is set to true
, all standard front-end search queries passed with the s
argument (e.g. /?s=
) are automatically sent to Elasticsearch.
Performance issues can be caused by core WordPress queries that perform well when a site has a small amount of data, but as the volume of site content increases the queries require a longer amount of time to execute.
Analyzing a site’s performance, and making any necessary adjustments to improve it, will help to ensure a site’s performance during unexpected high traffic situations, including unpredictable types of request spikes. It can also improve a site’s performance during normal traffic patterns, and increase resiliency during expected high traffic events.
Rate limiting is a measure put in place to protect a site’s search services from spikes in requests that can cause instability. Rate limiting is likely to occur if many pages are making the same queries directly to Elasticsearch (ES) rather than making use of caching.
Indexing is the process by which data is compiled and inserted into Elasticsearch. Elasticsearch (ES) is designed for quick retrieval and filtering of items in the index. To accomplish this, ES does not store the full database of a site, and the index will differ from the site’s MySQL table indexes.
Several features built into Enterprise Search can be enabled with the command wp vip-search activate-feature
. Run the command with VIP-CLI, for example:
Post meta is not indexed by default. If post meta is not explicitly defined in the allow list, it will not be indexed.
Similar to post types, any registered taxonomy that is public will be indexed by default.
Enterprise Search automatically indexes all public post types.