caching a query that changes infrequently in Coldfusion/cfWheels -


i'm looking @ cache function in findall function of cfwheels. i'm little apprehensive using it. queries not taking long absolutely need them, bit of speed boost welcome. i'm getting 10ms queried cache otherwise takes 100ms. thing i'm wondering when entry changes, i'd cache cleared on next run. doesn't seem there's mechanism or flag in framework allow that, i'd have set , clear flags myself, end having read database anyway. hoping set cache full day , update when needed, horribly misguided? i'm not going go down road of developing of functionality allow caching application, curious if worth while revisiting.

more precisely whenever make new entry in database, use cfhttp tag reload application.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -