How to Optimize Website to Load Faster
How to Optimize Website to Load Faster
Compress CSSOptimizing CSS codes of your website’s is important. Unnecessary CSS code makes site sloth. So remove unnecessary CSS codes from your stylesheets (like unused and unnecessary white spaces, character spaces, newlines, tabs, callout boxes, buttons). Compressing CSS also will make your website Google bots crawling friendly. You may use CSS compressing tools like this
Minify HTML code can save many bytes of data and speed up webpage loading. Safely reduce the size of your HTML code can make your website load faster plus it will reduce mobile transfer cost and optimize storage on embed systems. Way too using HTML also sloth the page loading and non SEO friendly. To compress your HTML’s from website you can use this tool
Scripts in bottom
For Wordpress Compressing codes to website load faster
You can use for wordpress best compressing and minifying code plugin Wp minify it will minify all extended unused codes for you.
Using good host and DNS systemReduce server response time and HTTP request, DNS lookup overall DNS server response time is a fact to load website faster. You will need very good server response, Mysql database and other database and DNS server response quickly. Using good proper host is the solution plus Avoiding unwanted URL redirection, URL masking, URL forwarding too
Optimize website's HTTP request
Dealing with fetching contents
Dealing with those contents what your webpage will fetch from other server or source. Like Advertising Banner, sponsor images, YouTube or other video site’s video playing on your website these stuffs slow down your page loading speed. Consider not to using much much ads on website
If your website is not about photography or infograph consider to using image size of 600px, 300px, 125px and JPG or JEPG format under less than 300 kb. Also using Lossless compressed images in post or webpage can save many bytes and seconds. To compress images you can use this tool or Dynamic drive
Data URL is also helpful to optimizing images, this process turns images into URL/Code, and loads extremely faster, offline usable and don't create HTTP request on server, Use this tool for creating Data URL version of your images Dopiaza
Leverage browser Caching
Cache for website means create static HTML file from dynamic website. When a webpage opens the page renders, gets data from databases, usages ram-cpu then it visible on web browser, So every time you open then page it do waste time same. Again when a webpage cached it don’t take much longer to load time saves. Set an expiry date or maximum age in the HTTp headers for static instructs for web browser to load previously downloaded files from local disk rather than the network (like in webpage code’s Last-Modified or Etag or cache-control or max-age tag using at style sheet-
and also notify it on .htaccess file with-
For Wordpress websites plugins like Comet Cache, Wp super cache using is extremely recommended for better and auto caching.
CDN means Content delivery network, CDN is a process to distribute content (Text, Graphic, Media, Codes, downloadable content) from a lot of CDN dedicated server to your website. Everybody use it because it has faster content delivery system process than own hosting server response, default caching and more safety form hack. Free CDN service is Cloudflare paid best CDN service is Maxcdn
If you use Wordpress
There’s a lot of plugins what slows wordpress powered websites. Like floating share bar-icons, rating widgets etc. Deactivate those or control plugins loading time and make website free. Use valid and fast loading framework and themes like Diythemes, Studiopress, Woothemes can boost speed of wordpress powered websites.
Other optimizations you may do
Enable Gzip compressionGzip compression reduce the size of files what sent from your web server to increase the speed to which they are transferred to visitor's web browser or Compress your files when they are at server. Editing you .htaccess can solve this problem like-
A lot of websites uses Google web fonts and less known font to customize website, recommended is to use default web fonts like Ariel, Times new roman. Plus this is not so important.
Video thumbnails, widget area video streaming take a while to load, if your site is not about video streaming, video optimizing can save you time to load.
Widgets, gadgets control
Widgets/gadgets makes site beautiful that’s alright but slow down site loading speed. You can delete Un-useful but fancy widgets/gadgets.
Before 5-10 second if your website gets loaded completely, then your website is fast enough. But If your site doesn't get loaded before 5-10 second you need to optimize heavily. Hope if you use these tips to optimize your website to load faster, you website will be get loaded before typing address in address bar :) How these tips working for you don't forget to mention. Goodluck....