Mercurial > libervia-web
view .hgignore @ 985:64826e69f365
pages: cache mechanism, first draft:
a cache mechanism has been implemented to retrieve pages with a complexe rendering and/or calling expensive methods (e.g. network calls).
For now it's is done only for Pubsub and with service profile (i.e. profile used when user is not logged in).
When a LiberviaPage use cache, node is subscribed, and as long as no event is received (even can be item update, item retraction, or node deletion), the cached page is returned.
This is a first draft, it is planed to handle in the future logged users (which can be tricky as we must not let (un)subscribed node if user is not willing to), multi-nodes pages (e.g.: item + comments) and cache for page not depending on pubsub (e.g. chat).
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Nov 2017 17:18:14 +0100 |
parents | a5019e62c3e9 |
children | a44f77559279 |
line wrap: on
line source
syntax: glob *.pyc *.pyv *.swp *.swo *.js tags twistd.log twistd.pid sat.egg-info *.un~ dist MANIFEST *.sh build/ Session.vim ctags_links/ html/