Rock It Till You Drop It[@657]
I've implemented a caching scheme for my blogs using OSCache.
I elected to use the tags for the blog. I wrapped all the relevant pages with
<os:cache time="-1">...</os:cache>, and
<os:flush/>is called whenever the content is updated. Works like a charm.
The linkblog was little bit more work, as it only uses one single JSP page. I had to write a CacheFilter which disables caching whenever certain request parameters are specified.
Overall it took longer to test everything than writing the code. The speed and memory consumption improvements are well worth the effort.
Rock It Till You Drop It
Where did the links go? Visit my new Linkblog.