I understand that but I was wondering if there was a way to just cache
the object without having to call a function, i.e. a way to cache
large objects instead of storing them in session or pickling.

For a little background, I'm grafting large trees together.  The user
would search and view trees to copy what they need to a clipboard and
then graft into the super tree later.  Since I have already created
the trees when searching, I want to cache them.  When I go back to the
super tree I can do the paste without recreating that copied tree.

I think I can do what I want by just caching the method so I was just
wondering if I can, or even should, try to cache the object directly.

Thanks!
Krista

On Jul 10, 3:09 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> You alwayscachethe object returned by the function. The function can
> be a dummy that returns the object you want tocache.
>
> On Jul 10, 1:30 pm, krista <klarso...@msn.com> wrote:
>
> > Is there a way to justcachethe object and not the function?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to