Single Page Application: No website Reload with just one line of js code
Progressive Web App is remarkably the most awesome thing in modern web development. Push Notification, Request Caching, Single Page Application, Website Offline Mode are some of the things included in PWA(Progressive Web App).
These topics seem so fascinating and cool. So let's see the table showing these topics and rocket science behind it.
|Topic||Rocket Science Behind it|
First and foremost, we are going to use the simple library called Fetcher authored by me. Be sure to check it out.
At first, inside your
insert the following script and link files.
Now place following code after closing the
<!-- usage --> <script> BinFetcher().init() </script>
and there you have it. Your internal links will be fetched with js and written in your DOM. It reduces loading times and makes the website efficient.
Note: This library is still in Work In Progress, don't use it in
production. if you found any issue using it. Report here
Please give it a star, if you like it. This will inspire me to keep on contributing.
Give your Judgements !!