Does Discourse play nicer with some browsers than others?


#1

Recently I’ve been getting a lot of:

Error

in Apple’s (admittedly latest Beta) Safari.

I have no issue at all in Firefox.

Has anyone experienced reliability issues in some browsers, whilst not in others?

Have I broken something?


(Jeff Atwood) #2

Service workers are super sketchy in Safari beta. Update to latest Discourse.

As official company policy we do NOT support beta browsers so use at your own risk.


(Jeff Wong) #3

Hey there - Unfortunately, Safari’s beta/preview version has some bugs in its service worker implementation, which Discourse uses underneath to cache request and handle offline statuses.

As a rule of thumb (and for developer sanity) Discourse doesn’t support beta browsers, as they can contain buggy features such as these that are a nightmare to workaround.

*Related to:


#4

Thanks guys, that must be it, it’s been driving me potty!


(Mittineague) #5

I currently have 13 different browsers that I can test in. I don’t expect things to be perfect in all of them, but amazingly, even with the unsupported browsers any breakage I have noticed is usually relatively minor and not a complete fail.


#6

@awole20 @codinghorror is there any browser benchmark that might specifically highlight this weakness?


(Sam Saffron) #7

See:

https://caniuse.com/#feat=serviceworkers

https://jakearchibald.github.io/isserviceworkerready/


#8

Oh and found the original proposition thread