Swarthmore / litterfall

Application and Scripts used for the Litterfall Project
0 stars 1 forks source link

[IE] The page would not rerender #50

Closed zafire06 closed 10 years ago

zafire06 commented 11 years ago

In IE9, the plot-view page refuses to recognize that the data on the database side has already changed. I hypothesize that this is because IE caches the JSON data from the request URI (litterfall.py). So when the Backbone model requests data from the server with the same URI, IE does not reload the URI but rather draw the data from its cache. It is only after I clear the browsing data including cache that the plot-view page recognizes changes in the database.

This could be solved by using the header sent from the Python script? I think there is something like Cache-Control that we can specify in the header.

jadams1 commented 10 years ago

Anyone who uses IE is probably used to refreshing the page a lot.