I have had some luck with this. I use
gadgets.container.getGadget(moduleID).refresh(); If you use firebug's network tab to check out what refresh is doing you see this: http://localhost:8080/gadgets/makeRequest?refresh=3600&url=http%3A%2F%2F mobilecontent.co.uk%2FContent.Service%2FLabPixies%2F%3Fsname%3DDailyHoro scope%26msisdn%3DNULL%26lng%3DUSA%26type%3DWEB%26dob%3D12081980%26opid%3 DiGoogle%26dof%3D02042009&httpMethod=GET&headers=&postData=&authz=&st=&c ontentType=DOM&numEntries=3&getSummaries=false&signOwner=true&signViewer =true&gadget=http%3A%2F%2Fwww.labpixies.com%2Fcampaigns%2Fhoroscope%2Fho roscope.xml&container=default&bypassSpecCache=1 refresh=3600 - appears to tell shinddig to automatically refresh the cache every 60 minutes. However if you want to setup the cache expiration for each one I believe there is a way to do this when you call the renderer. Like I believe your gadget url with be like http://site/gadget.xml?refresh=30 I actually don't know the variable but I believe you can set it this way. I'm not 100% sure on any of this but if you confirm let me know. -----Original Message----- From: Kevin Warrington [mailto:[email protected]] Sent: Wednesday, April 22, 2009 4:22 PM To: [email protected] Subject: Shindig Caching Setup I need help configuring and properly implementing caching within Shindig. For instance, I will have multiple widgets on a page at once. Each will need to have the ability to refresh at a custom interval. By refresh i mean, only refresh the content within the widget. Can someone provide a link or some advice as to what I should do with regards to the caching? For gadget refresh I've been trying to call, gadgets.container.refreshGadgets(); but it doesnt seem to do anything. Thanks, Kev

