jeudi 27 août 2015

Aurelia Http fetch returns cached data

So I am new to Aurelia and web development in general.

Currently I have a view with a table of data. After editing an entry and returning to the table I call my function to make another API call but instead my browser returns a 304 not modified (though in the database the values have been updated).

When I enable "always refresh from server" in Edge I get the results as I would expect. Is there some way of telling this Http request to always call the API and not from the cache?




Aucun commentaire:

Enregistrer un commentaire