aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "reload the command cache automatically" Watch "reload the command cache automatically" New topic
Author

reload the command cache automatically

Bhargav N Balasubrahmanya
Greenhorn

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.
Thanks.
Bhargav
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: reload the command cache automatically