开发者

OSCache jsp tag to first return from cache and then clear

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜