https://github.com/brcontainer/bypasscache.js
Reload all resources in page (and clear cache from this resources) using XmlHttpRequest with POST method
https://github.com/brcontainer/bypasscache.js
cache javascript
Last synced: 9 months ago
JSON representation
Reload all resources in page (and clear cache from this resources) using XmlHttpRequest with POST method
- Host: GitHub
- URL: https://github.com/brcontainer/bypasscache.js
- Owner: brcontainer
- License: mit
- Created: 2014-12-11T19:06:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T03:03:23.000Z (over 7 years ago)
- Last Synced: 2025-01-19T18:43:35.931Z (over 1 year ago)
- Topics: cache, javascript
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## BypassCache.js
> Note: Reload all resources and page (clear cache from this resources)
>
> Note: This method use POST method with XmlHttpRequest
## Include file
```html
```
Method | Description
--- | ---
`BypassCache.url(url [ , callback ])` | Try clear cache by url
`BypassCache.current([ callback ])` | Try clear cache by current url in page
`BypassCache.images([ callback ])` | Try clear cache from images displayed on page
`BypassCache.scripts([ callback ])` | Try clear cache from scripts externals added on page
`BypassCache.styles([ callback ])` | Try clear cache from CSS styles externals added on page
`BypassCache.links([ callback [, ignoreStyles = false ]])` | Try clear cache from `` tags like icons, styles, feeds, etc. Note `ignoreStyles` param is default false, if use `true` elements `` are ignored
`BypassCache.reload()` | Try all resources in page and reload page after this