Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can pretty-print JS output of the resulting render and force GGS Shindig to fetch gadget spec by below. This will be enabled for all gadgets in the container.

...

Add support for lazy-loading versioned JS. Specify &jsload= and &onload= (required upon presence of &jsload=) in /gadgets/js/shindig.container.js?jsload=1&onload=XXX. GGS Shindig will return a very slim JS (with default browser cache) to dynamically load a corresponding versioned &v= JS in /gadgets/js/shindig.container.js?&v=YYY. Either one of two things will happen –

  • If first encounter, this will do another fetch to GGS Shindig for the full common container JS. This will have a long browser expiry time, 1 year.
  • Otherwise, content will be retrieved from browser cache.

...