So after experimenting with knop_cache, [cache], and finally [cache_*] tags, I settled on using the latter to render once and cache it using the following sample implementation:
One of the things I discovered was that knop_cache does not work at all like Lasso's [cache]. knop_cache stores knop objects, whereas [cache] stores strings and no other objects. I tried this:
knop_cachestore(-type='string');
but was disappointed when I tried to retrieve and display that string.
I also found that [cache] was utterly useless for controlling cache. I don't know wtf LassoSoft has done with that tag, but make your life easier and just use [cache_*] control tags. I must have tried a dozen permutations of using plain old [cache] to no avail.
--steve
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@StevePiercy.com> <http://www.StevePiercy.com/>
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://lasso.2283332.n4.nabble.com/Knop-Framework-Discussion-f3157831.html The Knop project and code is hosted at GitHub. https://github.com/knop-project/knop
Jan 05
Ric Lewis Re: knop_nav performance and cache
Jan 05, 2014; 17:54
Ric Lewis
Re: knop_nav performance and cache
Jan 05
Steve Piercy - Web Site Builder Re: knop_nav performance and cache
Jan 05, 2014; 15:05
Steve Piercy - Web Site Builder
Re: knop_nav performance and cache
Jan 05
Ric Lewis Re: knop_nav performance and cache
Jan 05, 2014; 23:46
Ric Lewis
Re: knop_nav performance and cache
Jan 05
Steve Piercy - Web Site Builder Re: knop_nav performance and cache
Jan 05, 2014; 18:32
Steve Piercy - Web Site Builder
Re: knop_nav performance and cache
Jan 06
Ric Lewis Re: knop_nav performance and cache
Jan 06, 2014; 02:38
Ric Lewis
Re: knop_nav performance and cache
Jan 06
Ric Lewis Re: knop_nav performance and cache
Jan 06, 2014; 08:12
Ric Lewis
Re: knop_nav performance and cache
Jan 06
Steve Piercy - Web Site Builder Re: knop_nav performance and cache
Jan 06, 2014; 03:53
Steve Piercy - Web Site Builder
Re: knop_nav performance and cache
Jan 06
Ric Lewis Re: knop_nav performance and cache
Jan 06, 2014; 13:20
Ric Lewis
Re: knop_nav performance and cache
Jan 15
Johan Solve Re: knop_nav performance and cache
Jan 15, 2014; 20:55
Johan Solve
Re: knop_nav performance and cache
Jan 15
Johan Solve Re: knop_nav performance and cache
Jan 15, 2014; 20:58
Johan Solve
Re: knop_nav performance and cache
Jan 15
Johan Solve Re: knop_nav performance and cache
Jan 15, 2014; 21:01
Johan Solve
Re: knop_nav performance and cache
Jan 15
Johan Solve Re: knop_nav performance and cache
Jan 15, 2014; 21:10
Johan Solve
Re: knop_nav performance and cache
Jan 15
Steve Piercy - Web Site Builder Re: knop_nav performance and cache
Jan 15, 2014; 13:07
Steve Piercy - Web Site Builder
Re: knop_nav performance and cache
Jan 15
Johan Solve Re: knop_nav performance and cache
Jan 15, 2014; 22:25
Johan Solve
Re: knop_nav performance and cache
Jan 15
Steve Piercy - Web Site Builder Re: knop_nav performance and cache
Jan 15, 2014; 14:50
Steve Piercy - Web Site Builder
Re: knop_nav performance and cache
Jan 20
stevepiercy Re: knop_nav performance and cache
Jan 20, 2014; 12:01
stevepiercy
Re: knop_nav performance and cache
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!