I have a table which stores data from an expensive web service query. It's 
used in some read-only grids as well as in some geolocation logic.
At the moment, I use cache to determine if a certain time has elapsed 
before rebuilding the table; this fixed-time logic is good enough for the 
purpose.
It would be nice to abstract away this cache into a callback linked to DAL 
attempts to query the table, rather than duplicate it in controller 
functions which use the table.

Is there any way to do this?



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to