Increase Site Speed

by 10 replies
12














Code:
#enable expirations
  ExpiresActive On
  # expire GIF images after a month in the client's cache
  ExpiresByType image/gif A2592000
  # expire PNG images after a month in the client's cache
  ExpiresByType image/png A2592000
  # expire JPG after a month in the client's cache
  ExpiresByType text/jpg A2592000
  # expire CSS images after a month in the client's cache
  ExpiresByType text/css A2592000
  # expire HTML after a month in the client's cache
  ExpiresByType text/html A2592000
  # expire JS after a month in the client's cache
  ExpiresByType text/javascript A2592000





Code:
<filesMatch "\.(js)$">
      ExpiresDefault A29030400
  </filesMatch>
  <filesMatch "\.(jpg)$">
      ExpiresDefault A29030400
  </filesMatch>





Code:
#Gzip
  <ifmodule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
  </ifmodule>
  #End Gzip






Code:
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
  SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|iso|tar|bz2|sit|rar|png|jpg|gif|jpeg|flv|swf)$ no-gzip dont-vary
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.[0678] no-gzip
   
  # MSIE masquerades as Netscape, but it is fine
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
   
  # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48, the above regex won't work. You can use the following
  # workaround (comment the above line and uncomment the below line) to get the desired effect:
  # BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
   
   
  # Make sure proxies don't deliver the wrong content
  Header append Vary User-Agent env=!dont-vary
   
  </IfModule>

















#search engine optimization #increase #site #site speed #speed
  • I use logic, and I actually read what google publishes.

    This 2013. Nobody should have a site speed problem.

    Site speed is sooooooooooooooooo low on google's
    ladder, it just isn't worth worrying about.

    And if you are worrying, man, your site has major problems.

    If people really cared about site speed, they'd can wordpress
    in a heartbeat and code themselves. Or get a real CMS.

    Or better yet. Get a real server.

    Paul
    • [2] replies
    • Great post. Page speed is more important than many people realize for rankings. There's a reason Google provides comprehensive resources for webmasters
      https://developers.google.com/speed/
      https://developers.google.com/speed/pagespeed/insights

      Even improving your site by a few milliseconds can be the difference between someone closing the page or sticking around to see what your site has to offer (which also influences seo rank).

      Simply installing w3t cache on wordpress and utilizing Cloudflare's free CDN will put you ahead of the majority of webmasters out there.

      Here's a good guide for configuring the w3t plugin Ultimate Guide to W3 Total Cache
    • Thanks for commenting Paul,

      There have been a lot of studies done on this and the speed of a site has actually been shown to dramatically affect conversion rates. It goes hand in hand with the instant gratification people have come to expect online. Think of the last time you sat at a traffic light when it turned green and a motorist in front of you took longer than 5 seconds to start moving. It can seem like an eternity. The only difference is that you have little other choice but to wait. For most websites, people don't always have to wait and they can just as easily hit the back button and try another search result.

      Check out this study data from a couple of different organizations on the affects site speed has on conversions,

      Google's Push To Speed Up Your Web Site

      best,

      Shawn
      • [1] reply
  • I would say rather on side speed focus on backlinks and relativity of page.
    I used site speed test and improved my site speed as google suggested but didn't help much
  • I found misunderstanding from people who are not in favor of spending time on site sped.

    It looks from their comments they think site speed helps in getting traffic.
    but in actual. it helps to reduce Bounce rate
    when bounce rate goes down, users stay increases and which keeps you up in ranking....


    all these are internally linked to each other..
  • Good article but i'm thinking most important is fast hosting.
  • Some very good points here. Yes the type of host as well as the service you buy from a host (shared or dedicated server) will dramatically impact speed. Yes there are high speed connections but speed can still be an issue even though there is enough bandwidth to accommodate modern websites. Also, not all people have access to these resources.

    As of april 2012, only 66% of Americans have access to broadband internet Pew Internet: Broadband | Pew Research Center's Internet & American Life Project

    Yes there are also much more important factors to SEO than site speed however ignoring something just because it doesn’t seem important is never a good approach. Instead, you should optimize based on a ratio of impact vs time. If something doesn’t take that much time to implement, it should be done even if the impact is marginal. By contrast, if it takes a lot of time, obviously its better to focus efforts elsewhere. Many small tasks that have small impacts can add up to a lot. We wouldn’t only build backlinks to a site, or only do on-site optimization or only focus on content; it’s the totality of all these things that makes a site successful in search.

    Shawn

Next Topics on Trending Feed

  • 12

    In my opinion, page speed is one of the most difficult things to get right. If you have ever used a page speed analyzer and tried to follow its recommendations, you are probably already aware that some tasks offer marginal improvements in exchange for a lot of headache. I wanted to offer some insights from my own experiences in the hope that someone else who is frustrated will find this useful. Leveraging Browser Caching