> Would you post the steps you did to turn off ALL caching in shindig

1. I have a Servlet Filter registered that turns off browser caching:
        public void doFilter(...)
        {
                ...
                HttpServletResponse httpResponse
=(HttpServletResponse)response;
                httpResponse.setHeader("Cache-Control", "no-cache");
                httpResponse.setDateHeader("Expires", 0);
                httpResponse.setHeader("Pragma", "no-cache");           
        }

2. I've substituted my own Rendering servlet for the default
GadgetRenderingServlet.

3. Having my own rendering servlet gives me the opportunity to override
lots of behavior. For caching, I wrap the GadgetContext with a proxy
that returns true for GadgetContext.getIgnoreCache().

Simple, huh? I maybe missing some other caching somewhere though.

Jordan Zimmerman
Principal Software Architect
831.647.4712
831.214.2990 (cell)
[email protected] 

SHOP*COMTM
Shop Smart, Save Big(tm)
www.shop.com

This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this
message
immediately if this is an electronic communication.

Thank you.

Reply via email to