An open API service indexing awesome lists of open source software.

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

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