https://github.com/bharat23/plt
Lets you cut off excessive page rendering time
https://github.com/bharat23/plt
frontend javascript load-time optimization
Last synced: about 1 year ago
JSON representation
Lets you cut off excessive page rendering time
- Host: GitHub
- URL: https://github.com/bharat23/plt
- Owner: Bharat23
- Created: 2016-09-13T15:11:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T06:42:18.000Z (almost 9 years ago)
- Last Synced: 2025-02-27T06:04:23.321Z (over 1 year ago)
- Topics: frontend, javascript, load-time, optimization
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PLT
Code Related to Word Done On PLT
- Timeout JS
- A library created to overcome the problem of excessive delay in rendering of the page on the frontend due to some blocking resource or code.
- Triggers a custom page with message for users seeing a blank screen for a long time this may result in frustation for the user.
- It is like the No Network Chrome Dinosaur which informs the user that something is wrong and to have patience.
Installation:
- Git:
- clone the repo and use the timout.js library by placing it inyour static folder in your code base
- Bower:
- Prerequisites:
- Bower installed in your system
In case, bower is not installed use the below command
```
npm install -g bower
```
- Install Library
- After bower is installed use following command
```
bower install plt-timeout
```
- Use the library
- Use the timout.js from bower_component folder