Monday, November 02, 2009

Enable and disable Shindig caching

Shindig implements a complex caching hierarchy including referred external resources, locale messages, gadget specification files, etc.
During development phase, the developers want to disable caching to make modifications take effect immediately.

  • Build-Time Solution
    It is according to this post https://studio.atlassian.com/browse/AG-145.
    Download source code tree and build the war file using command “mvn –Pdebug package
  • Run-time solution
    HttpCache: caches http request sent out from shindig server. During gadget rendering, this is controlled by “nocache” parameter. So when you render a gadget, add parameter ‘nocache’ with value 1.
    I don’t know how to do it at server side.

No comments: