How do you avoid gadget caching when developing a custom gadget?
Since developing a custom Finesse gadget requires constant redeployment of the latest gadget code, gadget caching can cause a major headache. Shindig will cache Gadget Specs (the retrieved parsed HTML) for 5 minutes. To alleviate that headache, Finesse added the feature to clear the cache by passing a "nocache" parameter in the URL. This forces Shindig to re-render the Gadgets. You can pass the nocache parameter at the root level or at the desktop web app.
Note that this is only recommended to be used while developing the gadget. When it is fully developed, you should restart the "Cisco Finesse Tomcat" to clear the cache. If all fails, restart the whole Finesse server.
Please sign in to leave a comment.