there is not much really
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Caching-selects
to see how to cache (it's not that different from the usual cache in
web2py).
instead of db(db.table.id>0).select() you use
db(db.table.id>0).select(cache=(cache.ram, 60
Niphlod, I have a small app the DB is getting big quickly and was asked to
do a cache layer..I just started started to learn about it and i'm already
lost. Could you point the direction to a newbie how to do it? Is it just
some code change in web2py? I saw there is this Redis but didn't read ye
so, what's the issue you're facing ?
On Wednesday, December 24, 2014 12:29:24 PM UTC+1, harsha tanguturi wrote:
>
> I would like to cache the model data i.e., caching the selects and update
> the cache whenever the data is updated. Putting simply a caching layer has
> to present before the datab
3 matches
Mail list logo