thinkWhere / DMIS

Disaster Management Information Service
4 stars 1 forks source link

Bugfix ie caching #121

Closed LindaAlblas closed 7 years ago

LindaAlblas commented 7 years ago

Bugfix for IE and Edge caching API calls. I have added a RequestOptionsService which intercepts any HTTP calls and adds additional headers which tell IE and Edge (and all other browsers too) not to use the cache.

Ideally we'd use the Angular Interceptor service but then you seem to have to use the new HttpClient instead of Http package and this switch would require a proper refactor so I have left it at this for now.