You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Robert Peterson <ju...@gmail.com> on 2010/02/11 03:39:02 UTC

how to disable javascript cache for default container?

We've only been using Shindig for a couple days - if this is documented, my
apologies. We have a gadget we're working on that uses a lot of javascript
which is imported with script tags in the spec <Content/>. We are constantly
changing the scripts as we develop and have found that when we use either
the default container the scripts get cached. Can we disable this cache on
the default container that comes in the war (e.g. without building our own
container)? As a workaround, right now we restart our web container every
time we modify our javascript - there must be a better way :)

Also, in regard to the mailing list, is the users list not functional yet
(there doesn't seem to be a post link) and is there a way to search the
archives?

Thanks,
Robert

Re: how to disable javascript cache for default container?

Posted by Henry Saputra <he...@gmail.com>.
HI Robert,

I believe you can add optional request parameters "nocache=1" to the gadget
iframe url to  force gadget rendering servlet to re-render the gadget.

- Henry

On Wed, Feb 10, 2010 at 6:39 PM, Robert Peterson
<ju...@gmail.com>wrote:

> We've only been using Shindig for a couple days - if this is documented, my
> apologies. We have a gadget we're working on that uses a lot of javascript
> which is imported with script tags in the spec <Content/>. We are
> constantly
> changing the scripts as we develop and have found that when we use either
> the default container the scripts get cached. Can we disable this cache on
> the default container that comes in the war (e.g. without building our own
> container)? As a workaround, right now we restart our web container every
> time we modify our javascript - there must be a better way :)
>
> Also, in regard to the mailing list, is the users list not functional yet
> (there doesn't seem to be a post link) and is there a way to search the
> archives?
>
> Thanks,
> Robert
>