http-ie-helper - Get request will be sent with no-cache in IE 11.
Demo
View all the directives in action at https://liuy97.github.io/http-ie-helper
Dependencies
- Angular (requires Angular 4.3 or higher, tested with 4.3.0)
Installation
Install above dependencies via npm.
Now install http-ie-helper
via:
npm install --save http-ie-helper
SystemJS
Note:If you are using
SystemJS
, you should adjust your configuration to point to the UMD bundle. In your systemjs config file,map
needs to tell the System loader where to look forhttp-ie-helper
:
map: 'http-ie-helper': 'node_modules/http-ie-helper/bundles/http-ie-helper.umd.js'
Once installed you need to import the main module:
;
The only remaining part is to list the imported module in your application module. The exact method will be slightly
different for the root (top-level) module for which you should end up with the code similar to (notice HttpIEHelperModule .forRoot()
):
; @
Other modules in your application can simply import HttpIEHelperModule
and provide HttpIEHelperInterceptor:
; @
Usage
License
Copyright (c) 2018 Yong Liu. Licensed under the MIT License (MIT)