
Use a Cache-Control Header
Since style-sheets (CSS), multiple scripts (java script), flash and images are used in the same page on a website, the visitor browsing the website for the first time need to make a number of HTTP requests. In this scenario, a cache-control header will make these components cacheable, thus avoiding unwanted HTTP requests on page views. Combine CSS and script files It is another good method to increase the loading speed. If we combine the CSS and script files, it will not take much time for loading because there is no need of loading all the files separately.
Gzip components and compression techniques
Beginning with HTTP/1.1, web clients point to support for compression with the accept-encoding header. With the help of Gzip, values can be sent by web client as the accept-encoding header
No comments:
Post a Comment