Cache taglib lets you describe dependencies for your cached chunks of data. For example, you can cache data for requests parameters, user agents and headers. The latest version lets you describe cache that vary by the cookies. So if you are keeping some user's identification in the cookies this feature lets you cache data per users too.
E.g. cache data per sessions:
<cache:Cache scope="session" key="mykey" varyByCookie="jsessionid">
your cached data
</cache:Cache>
No comments:
Post a Comment