Files
meteor/docs/lib/appcache-config.js
Avital Oliver ec170b7c3c docs: turn off appcache on safari
Turns out AppCache on Safari 7 is totally broken (see
http://stackoverflow.com/questions/22888945/safari-7-application-cache-does-not-work).
This, combined with our "reload if you can't load CSS or JS" strategy for
multi-server deploy causes infinite reloads in some cases.

Hopefully this will resolve the sporadic complaints we get
from some users about infinite reloads.
2014-05-09 18:34:39 -07:00

12 lines
378 B
JavaScript

// Turn off appcache on Safari. Apparently Safari 7's AppCache is
// totally busted. In particular, this fact combined with our
// "RELOAD_SAFETYBELT" strategy causes infinite reloads in Safari at
// times.
//
// See http://stackoverflow.com/questions/22888945/safari-7-application-cache-does-not-work
if (Meteor.isServer) {
Meteor.AppCache.config({
safari: false
});
}