Fixed so caching uses the cacheQueries setting instead of checking the environment only (related to r3110).
Fixed so caching uses the cacheQueries setting instead of checking the environment only (related to r3110).

cfwheels/cfwheels,cfwheels/cfwheels,cfwheels/cfwheels