# DB query cache

**URL:** <https://www.ruby-forum.com/t/db-query-cache/183214>\
**Category:** Rails\
**Created:** [February 10, 2010, 1:43am UTC](https://www.ruby-forum.com/t/db-query-cache/183214 "2010-02-10T01:43:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tristan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tristan](https://www.ruby-forum.com/u/tristan)\
**Post date:** [February 10, 2010, 1:43am UTC](https://www.ruby-forum.com/t/db-query-cache/183214/1 "2010-02-10T01:43:13Z")

</div>

Hi all

I’ve got a problem that’s been bugging me for a while now. We have a  
page of news article summaries with links to the full article (pretty  
standard sort of thing). When we create new articles in production  
they appear in the admin index but they don’t show on the public index  
for some reason until after the application is restarted.

So far, I haven’t specifically done any caching yet but I was  
wondering if there might be some type of default caching going on  
behind the scenes that I’m not aware of.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![tristan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tristan](https://www.ruby-forum.com/u/tristan)\
**Post date:** [February 10, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/db-query-cache/183214/2 "2010-02-10T17:30:47Z")

</div>

This is an excellent use case for CloudCache - which has introspection,  
so  
you can tell what’s in cache when…

Implements ActiveSupport::Cache, so if you’re already using that, it’s a  
coupla lines of change.

See [getCloudCache.com](http://getCloudCache.com)

Cheers,

m
