almhdy Posted November 2, 2020 Posted November 2, 2020 Website speed has a huge impact on userexperience, SEO, and conversion rates . Improvingwebsite performance is essential for drawingtraffic to a website and keeping site visitorsengaged. before any it's mainly depending on server uptimeif you using Tommy or Ricky that's good news but if not (i mean if using Johnny that's terrible)I using Tommy and have good uptime what's next? ?Use a CDN (content delivery network)CDNs boost the speed of websites by cachingcontent in multiple locations around the world.CDN caching servers are typically located closerto end users than the host, or origin server.Requests for content go to a CDN server insteadof all the way to the hosting server, which maybe thousands of miles and across multipleautonomous networks from the user. Using aCDN can result in a massive decrease in pageload times.Optimize imagesImages comprise a large percentage of Internettraffic, and they often take the longest to load ona website since image files tend to be larger insize than HTML and CSS files. Luckily, imageload time can be reduced via imageoptimization . Optimizing images typicallyinvolves reducing the resolution, compressingthe files, and reducing their dimensions, andmany image optimizers and image compressorsare available for free online.Minify CSS and JavaScript filesMinifying code means removing anything that acomputer doesn't need in order to understandand carry out the code, including codecomments, whitespace, and unnecessarysemicolons. This makes CSS and JavaScript filesslightly smaller so that they load faster in thebrowser and take up less bandwidth. On its own,minification will result in only minimal speedimprovements. However, implemented along withthese other tips, it will result in better websiteperformance.Reduce the number of HTTP requests ifpossibleMost webpages will require browsers to makemultiple HTTP requests for various assets on thepage, including images, scripts, and CSS files. Infact many webpages will require dozens of theserequests. Each request results in a round trip toand from the server hosting the resource, whichcan add to the overall load time for a webpage.Additionally, with resources loaded from severaldifferent providers, a problem with one of thehosts could impact the webpage's ability to loadquickly, or at all.Because of these potential issues, the totalnumber of assets each page needs to loadshould be kept to a minimum. Also, a speedtest should help identify which HTTP requestsare taking the most time. For instance, if imagesare causing a page to load slowly, developerscan look for a faster image hosting solution(such as a CDN).Use browser HTTP cachingThe browser cache is a temporary storagelocation where browsers save copies of staticfiles so that they can load recently visitedwebpages much more quickly, instead ofneeding to request the same content over andover. Developers can instruct browsers to cacheelements of a webpage that will not changeoften. Instructions for browser caching go in theheaders of HTTP responses from the hostingserver. This greatly reduces the amount of datathat the server needs to transfer to the browser,shortening load times for users who frequentlyvisit certain pages.Minimize the inclusion of external scriptsAny scripted webpage elements that are loadedfrom somewhere else, such as externalcommenting systems, CTA buttons, or lead-generation popups, need to be loaded each timea page loads. Depending on the size of thescript, these can slow a webpage down, or causethe webpage to not load all at once (this iscalled 'content jumping' or 'layout shifting' andcan be especially frustrating for mobile users).Don't use redirects, if possibleA redirect is when visitors to one webpage getforwarded to a different page instead. Redirectsadd a few fractions of a second, or sometimeseven whole seconds, to page load time. Whenbuilding a performance-optimized website, everysecond counts. Redirects are sometimesunavoidable, but they shouldn't be used if notnecessary.that's all
gpcoders Posted February 16, 2021 Posted February 16, 2021 Minimize HTTP requests. Minify and combine files. Use asynchronous loading for CSS and JavaScript files.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now