Posts

Showing posts from January, 2017

Website Performance Techniques

Caching  - Yes, one of the most important technique for any website of web-application. It has many levels and ways - from server side cache to browser level cache, from natively provided by browser to custom build cache. Browser cache  - browser caches static resources used by website if proper header tags are given, like expiry-date, e-tags, mime-types. LocalStorage - if we are going to use response multiple times and it won’t be changing so frequently and will remain same across sessions, we better save it in localStorage. SessionStorage - session storage is another form of localStorage cache, but with scope browser-session. Cookies  - if data is small and localStorage/sessionStorage is no available, we can polyfill it with cookies. RocketLoader & PageSpeed are tools available which can save you bandwidth using localStorage. Preloading of images and resources  ahead of time is another way of making website faster, if we know user is going...