Free-Conversant Support / [New Feature] AQP default query caching
 Home   About Conversant   Free Sites   Hosting   Support   XML-RPC 

Search




Subject [New Feature] AQP default query caching
Posted 9/26/2001; 4:29 PM by Greg Pierce
In Response To (#Top of Thread.)
Label None. Read 598
<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply
Two new properties are now available on the Advanced Query Page, named "Cache default query" and "Max age of default query cache".

Using these values, the default query, as defined in the structure editor, can be cached for quicker response. Only the default query, as run by an AQP without URL arguments will be cached. This primarily is designed to speed up AQPs used not as search pages, but as lists of messages within a site -- or used with the new #insertQuery macro.

Only the query set is stored, not the fully rendered html -- the speed benefit depends on the complexity of the query, but a typical AQP can see a 30-40% performance boost when serving a cached query.

Naturally, as with any caching, this will mean the values on the page will not reflect changes to the underlying messages immediately. It's recommended you keep the cache time set to a relatively short period to prevent the info from getting stale.

Enjoy,

g.

<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply
ENCLOSURES

None.
REPLIES

None.
TRACKBACKS



This site managed with Conversant, © Copyright 2010 Macrobyte Resources