Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hughsk/preload
Load images, scripts and CSS with XHR progress events where supported
https://github.com/hughsk/preload
Last synced: 12 days ago
JSON representation
Load images, scripts and CSS with XHR progress events where supported
- Host: GitHub
- URL: https://github.com/hughsk/preload
- Owner: hughsk
- License: mit
- Created: 2013-10-29T01:38:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-29T05:46:50.000Z (about 11 years ago)
- Last Synced: 2024-10-17T16:41:24.594Z (22 days ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# preload [![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) #
Load images, scripts and CSS with XHR progress events where supported.
This has been written more for large, script/asset-heavy pages such as games
or WebGL demos where the page is already going to take 5+ seconds to load.
As such, it's not as small as it could be - I'd recommend
[LazyLoad](https://github.com/rgrove/lazyload) if you're looking for
a lightweight solution.## Usage ##
[![preload](https://nodei.co/npm/preload.png?mini=true)](https://nodei.co/npm/preload)
Work in progress.
## License ##
MIT. See [LICENSE.md](http://github.com/hughsk/preload/blob/master/LICENSE.md) for details.