On Sunday 22 Jan 2012 12:57:33 AM Sana wrote:
> •       On page load im displaying data from the database each time the page
> is refreshed the query hits the database to retrieve  the data there by
> taking long time for the page to load is thr any way by which the query hit
> the table oly for new request and for the same request
> access data from the cache
There's a beaker caching example in SQLA.
http://docs.sqlalchemy.org/en/latest/orm/examples.html#beaker-caching
I myself am looking forward to implement this pattern using memcached in my
own app.
--
Fayaz Yusuf Khan
Cloud developer and architect
Dexetra SS, Bangalore, India
fayaz.yusuf.khan_AT_gmail_DOT_com
fayaz_AT_dexetra_DOT_com
+91-9746-830-823

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to