I have a page that is sometimes (not very often) updated. The default view 
is quite complex, so caching it in RAM significantly improves performance. 
However, if I try to cache it in RAM using something like:

@cache.action(time_expire=3600, cache_model=cache.ram, prefix='index')

the browser serves the locally cached version even if the content changes 
and I clear the cache by:

cache.ram.clear('index*')

Is there a way to disable browser cache, but keep server cache? The book 
says that cache.action: "will do one or another or *both*"  So how do I 
just do the server-side caching without client-side?

This is probably something obvious, but I cannot figure it out for a while 
now... any hints greatly appreciated.

Cheers,
Krzysztof.

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to