For increase website page load time and maximum throughput. I have listed following techniques to implement. Those will really help to get fast page load time of webpage. I have also mentioned some reference links for implement those techniques.
Minify CSS – Always minify CSS code, it remove comments and white space. This reduces size of file at the end. You can use following sites to minify css. Don’t write duplicate css class, use less css for writing organized css.
Minify JS – This will also help to reduce page load time.
Third party calls
Load external, third party http calls asynchronously. e.g. social api’s i.e. facebook, twitter, ads etc.
Its For client side cache. You can easily set etags on pages using .htaccess. Put following code into .htaccess.Watch Full Movie Online Streaming Online and Download
FileETag MTime Size
ExpiresDefault “access plus 1 year”
Set expiry headers
We can easily do that by putting following code in .htaccess
Header set Expires “Thu, 15 Apr 2030 20:00:00 GMT”
Lazy load images
If web page having more images, that can cause page load time. For this we can use lazy loading techniques. That is only display images those are on above the fold position of website and loads other images when user scrolls down. This can easily doable via following libraries.
Use static html pages watch full movie The Lego Batman Movie 2017 online
If you website has content which is not frequently changes then you can use static html pages to server. It will reduce server side bandwidth and page loads quickly. One quick option you can do it like – Cache PHP response in static file only in 10 line of code
Reduce DOM element count which eventually reduces Dom processing time.
Implement Sub domains
Web Browser has capability to send 6-8 concurrent http request, till the time other request keeps on hold till those complete. So it will halt page during that period. For that you can use subdomain request to act as different http requests.
e.g. We can configure apache to server different type of request using different sub domains.
HTML should be W3C standards
Reduce DNS lookup and HTTP request.
Use sprite image for static images in web page.
- Here is link where you can create sprite image from set of images – http://spritegen.website-performance.org/
Use CDN – For cache http request on edge level. We must use cdn.