开发者

OSCache jsp tag to first return from cache and then clear

开发者 https://www.devze.com 2023-03-07 05:19 出处:网络
I am using OSCache on my jsps with tags. To i开发者_如何学Pythonmprove performance, I am caching some of the jsp using the oscache jsp tags.

I am using OSCache on my jsps with tags. To i开发者_如何学Pythonmprove performance, I am caching some of the jsp using the oscache jsp tags.

I would like the cache to always return the cached result and then rebuild the cahce. This way my users do not wait for the cache to be re-built. After returning the cached result, a flush can occur.

Anyone has an idea how to implement?


Ok so I dropped OSCache completely as it is not supported anymore. I am now using EHCache which works great!

Assaf

0

精彩评论

暂无评论...
验证码 换一张
取 消