view .hgtags @ 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 f38b8be94131
children f72064f29d2a
line wrap: on
line source

12e889a683ce07bfdb66ca3952c93fd97329d70c SàT v0.2.0
732ed69ffe11a5116dc9f8e0b084d47cc3f5a658 SàT v0.3.0
f2c380af7304d65703cf2f88882d08b4236fd36e SàT v0.4.0
ff03fdb5215d31e65123da6646589f9393fcd929 SàT v0.5.0
9b217e14fc6a515902a66f719f3131250e83ea56 SàT v0.5.1
0af8a88ef6cd67563075f9daf2a66c4ce98c8443 0.6.0
3d372805f60c80f03bc59430581c5a8958ed436e 0.6.1