We're updating the issue view to help you get more done. 

Query Caching: allow setting per-application and per-request defaults

Description

This is a performance issue. In certain scenarios / requets - caching queries by default makes sense for most of the time and we already have an option to NOT use cache for individual queries.

However, other scenarios such as large import / sync jobs cause severe performance problems when the query cache is used and would make sense to not use query caching by default rather than relying on developers to remember to not cache all their select statements.

Introduce a global setting in config.cfc + a request context decorator method for setting the default configuration per request.

Status

Assignee

Unassigned

Reporter

Dominic Watson

Accepted

Yes

Fix versions

Priority

Medium