# Sql caching

**URL:** <https://www.ruby-forum.com/t/sql-caching/117636>\
**Category:** Rails\
**Created:** [October 18, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/sql-caching/117636 "2007-10-18T20:50:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wheels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7bcc69/32.png) [@wheels](https://www.ruby-forum.com/u/wheels)\
**Post date:** [October 18, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/sql-caching/117636/1 "2007-10-18T20:50:55Z")

</div>

If I have something like this defined in a helper:  
@categories = Category.find(:all, :order =\> “name”)

This table does not get changed often at all. Is there a way to cache  
the results so it is only called once per day(or some period of time)?

Tommy
