0

How can I disable caching in shindig? I tried passing nocache=1 parameter in the request. It disabled shindig caching but added Pragma: no-cache and Cache-Control: no-cache to the response.

I don't want to disable browser caching but just shindig caching. What is the right way to do so.

Any thoughts? Ideas?

ankurvsoni
  • 2,064
  • 3
  • 18
  • 22
  • Which URL are you passing the nocache parameter to? And what do you now want cached? There are many caches in Shindig. – Ryan Baxter Jul 14 '13 at 16:46
  • I am adding nocache parameter to the proxy url i.e. https:///test-app/gadgets/proxy/container=shell-default&refresh=-1&nocache=1&gadget=XXXX/https:/// I don't want the icon returned by server to be cached by Shindig but only browser to cache it. – ankurvsoni Jul 15 '13 at 19:11

1 Answers1

0

You could disable content rewriting for all or some URLs in your gadget which will cause Shindig to not rewrite those URLs to go through the content proxy.

Ryan Baxter
  • 1,237
  • 2
  • 8
  • 16