Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 1.39 KB

README.md

File metadata and controls

20 lines (19 loc) · 1.39 KB

No-TimeBETA

No-TimeJS No-TimeJSBETA


Before reading, listen to this: this library can load up to 10 JS libraries at once at about 40ms.

Continue...

What's the purpose?

Embed this library from CDN:
<script src="//cdn.jsdelivr.net/gh/Parking-Master/No-Time@latest/no-time.js" async></script>
Try loading at least 10 JS libraries or 10 CSS libraries at once. Then, test the loading speed.
Basically, It takes the slow-loading speed of a page, then minifies it by half (or less).

How to use it

There is no downloader. You can easily get it with CDN:
<script type="text/javascript" src="//cdn.jsdelivr.net/gh/Parking-Master/No-Time@latest/no-time.js" async defer></script>
And make sure to put it right before the closing body tag

How it works

It checks if the load speed (ms) is higher than the loading speed -1000 or if the document is ready but the window is still loading.
But, it can also redefine the window even when it is still loading. If there is an error loading the document, No-Time can reload the page and cache.

Other repos: