File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes reload the command cache automatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "reload the command cache automatically" Watch "reload the command cache automatically" New topic

reload the command cache automatically

Bhargav N Balasubrahmanya

Joined: May 28, 2008
Posts: 8
Hi, i'm using wps 6.0.1 and trying to use the command cache in my application. But the requirement is that the cache should be reloaded automatically after some specified time, what currently happens with commandcache is that it gets reloaded only if it gets a request and the cache has been invalidated.
The problem is that the reloading of cache only after there is a request causes considerable delay for the first time for the first user. so, i would want the cache to reload automatically after some specifiede time, no matter if there's a request or not.
subject: reload the command cache automatically
jQuery in Action, 3rd edition