- minify JS, CSS and HTML
Minimize External HTTP Requests
Minify JS, CSS and HTML
Optimize JS and CSS Performance
Use CDN and Caching to increase Speed
Compress Images and Files
Prefetch should be Enable
Optimize JS and CSS
CORS is Cross-Origin Resource Sharing and it allows you to make requests from one website to another website. But for security reasons, a browser is not allowed to load requests to other domains when those requests are generated by scripts. CORS addresses this issue by supplying a header that will define which domains can make XMLHttpRequests.
Image Optimization: Always scale your pics or videos before uploading them to a page.
Browser Cache: The use of cache will increase speed for pages that you have already visited.
Compress and Optimize Content: Compressing the content of a website reduces page load time to a great extent.
StyleSheet Reference on Top: Putting stylesheet reference to the header of a document helps your page to load faster
It allows webpage to be updated asynchronously by exchanging data with a webserver behind the scenes. It means that it is can update parts of a webpage without reloading the whole page in website.
In an event, bubbling handlers are called when one element is nested into a second element, and both the elements have a listener for the same event. E.g. A click. Nowadays all modern browsers have event bubbling by default.
Event capturing starts from the top element to the target element. Modern browsers don’t support this event but we can achieve that with the help of code.