Simple Query Caching Question



i have .cfm template used render handful of pages of website. each page department, example, "arts & entertainment", "health", "finance", , on. on each of these pages (rendered same template) there common element... list of our top ten articles. have used "cachedwithin" feature cache query 3-hour period.

my question this...

since single template generating these department pages, "top articles" query same in terms of query name, datasource... sql statement (which uses "where department_id = x" statement) different. let's have ten departments rendered template... should caching ten queries, regardless of names being same?

yes should believe. although more experience may want clarify little more.


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support