browser-caching-with-get-request
v1.0.2
Published
In this module, we'll be showing contents of a website from browser cache if already a network call has been made to the server
Maintainers
Readme
browser-caching-with-get-request
Installation
You can directly install the package from npm repository using following command:
npm install browser-caching-with-get-request --saveUsage with Typescript
import { fetchData } from "./browser-caching-with-get-request";
fetchData("Your GET URL").then(res=>{
console.log(res);
});
Usage with Javascript
const fd = require("browser-caching-with-get-request");
fd.fetchData("Your GET URL").then(res=>{
console.log(res);
});
Contributing
You can use this without any consent form the author
Please make sure to update tests as appropriate.
License
FREE
