set the time to zero. cache.ram(....,0)
or db(...).select(...,cache=(cache.ram,0))) On Feb 16, 3:12 am, "hamdy.a.farag" <[email protected]> wrote: > Hi > > it's important that we've a cache say for example for example in a tag > cloud that shows the recently added products to database > but how can I force some cached function to flush cache and re-read > database based on certain situations > like [admin adds new product, and want to flush cache of a the > function that returns the product tag cloud] > > I've 2 questions regarding this > > Is this practical to have ? [For me I faced situations that may need > this] > Is it possible ? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

