Get started with page-accelerator CDN
MIT licensed
Library caches, reuses components for faster web page loading.
Tags:- pageAccelerator
- accelerator
- front-end
- turbo-links
- speed
- fast
- ajax
- performace
Stable version
Copied!
How to start using page-accelerator CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with page-accelerator CDN - cdnhub.io</title>
<script src="https://cdn.cdnhub.io/page-accelerator/0.1.1/page-accelerator.min.js" defer></script>
</head>
<body>
<button id="loadPage">Load Page</button>
<script>
document.getElementById('loadPage').addEventListener('click', () => {
const url = 'https://example.com'; // Replace with the URL of the page you want to accelerate
PageAccelerator.enable();
PageAccelerator.goTo(url);
});
</script>
</body>
</html>
Copied!
Copied!