Sunday, March 1, 2015

Changelog for 2015-03-01 (2)

Fixes

  • Fixed issue where going back would display JSON data in some cases due to browser cache.

Update

I've switched from simply preventing any AJAX request from being cached (which is the root of the issue; browsers get confused because the HTML and JSON pages share the same URL and are selected via request headers) to adding an arbitrary param to all AJAX requests. The result should be the same in terms of fixing the actual issue, but this solution is cleaner as it is effectively just helping the browser so it doesn't get confused.

No comments:

Post a Comment