diff options
-rw-r--r-- | server/src/com/vaadin/server/VaadinPortlet.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/VaadinPortlet.java b/server/src/com/vaadin/server/VaadinPortlet.java index 507f563289..94555fe2ff 100644 --- a/server/src/com/vaadin/server/VaadinPortlet.java +++ b/server/src/com/vaadin/server/VaadinPortlet.java @@ -479,6 +479,11 @@ public class VaadinPortlet extends GenericPortlet implements Constants { // Handles AJAX UIDL requests communicationManager.handleUidlRequest(vaadinRequest, vaadinResponse, portletWrapper, uI); + + // Ensure that the browser does not cache UIDL + // responses. + // iOS 6 Safari requires this (#9732) + response.setProperty("Cache-Control", "no-cache"); return; } else { handleOtherRequest(vaadinRequest, vaadinResponse, |