huboard / huboard-web

GitHub issues made awesome
https://huboard.com
61 stars 26 forks source link

Disables ajax caching in Ember #326

Closed discorick closed 8 years ago

discorick commented 8 years ago

Some browsers (specifically FF) use cached ajax responses when the browser restores tabs by default. This can cause chaos when cards start getting moved that are not actually there, and just a general poor experience.

Relates to the conversation happening here: https://github.com/huboard/huboard/issues/677

dahlbyk commented 8 years ago

Does FF really use cached responses even if the response says not to? It seems preferable to adjust response headers if they're not properly signaling to Firefox (or other browsers) that the content is not reusable, but if FF doesn't respect such headers...

discorick commented 8 years ago

I think playing with the headers is a better and more effective approach for sure. I just don't have the bandwidth to work on this further until next month. Is this a good enough solution in your estimation ?