mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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.
12 lines
378 B
JavaScript
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
|
|
});
|
|
}
|