Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


So I just optimized my WordPress website and wow...
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

So I just optimized my WordPress website and wow...

YmpkerYmpker Member
edited April 2016 in General

Heya,
So today I decided to sit down for a bit and try to optimize my WordPress website as far as it was possible, given it runs on shared hosting (Couldnt do anything like optimizing apache or add anything like mod_pagespeed). Honestly I was quite surprised by the results though. Now waiting for cloudflare to kick in though I don't expect it to change too much.

And before anyone says this is hidden advert or smth: Yes, I am @VPS_Unlimited

Before (Unfortunately no links as I saw the sharing feature just when I did the "After" test):

Amsterdam, Netherlands 1

Melbourne, Australia 1

San Jose, California 1

After:

Amsterdam, Netherlands 2:


http://tools.pingdom.com/fpt/#!/c1MgvQ/http://vps-unlimited.com

San Jose, CA 2:


http://tools.pingdom.com/fpt/#!/eyGRI9/http://vps-unlimited.com

Melbourne, Australia 2:


http://tools.pingdom.com/fpt/#!/blE6SH/http://vps-unlimited.com

Sweden (just did this one after the edits for the lulz and was the fastest so added it):


http://tools.pingdom.com/fpt/#!/cpkPH4/http://vps-unlimited.com

Dont ask me why the "Before tests" dont show location on pic and the "After" do. Didnt realize that either until just now.

So what did I change?

Basicly I just installed some very useful WP plugins that enable caching, shrink images and file sizes and optimize the dtb. Anyone interested just shoot me a pm and I'll gladly help you out :)

HOWEVER, now I really wonder what would be possible if Id use a vps and optimize nginx/apache also. Must be insane change afterwards I guess..

Comments

  • how about gtmetrix and google pagespeed result?

  • @gonggo said:
    how about gtmetrix and google pagespeed result?

    Didnt know those but feel free to share them if you want :)

  • https://gtmetrix.com/reports/vps-unlimited.com/2II9oACy

    You still need to add some headers to your site.

    Thanked by 1Ympker
  • yes, how about gtmetrix? gtmetrix used google pagespeed and yslow api.

    why share thought PM, just give some info what wp plugins that your are used and let people try to optimize by himself. personally im use some nginx tweak + cloudflare. its really help me out.

  • @yomero said:
    https://gtmetrix.com/reports/vps-unlimited.com/2II9oACy

    You still need to add some headers to your site.

    Planned on doing that but thought it would interfere with the cache as I understood cache as "keeping" preloaded files to bring the site up faster again whereas headers would let the cached content "expire" faster. If I didnt get that right I guess adding headers is what I'll do next. Thanks!

  • You should have a plugin or a simple code in your htaccess to fix the "Leverage browser caching" since you are using wordpress,

    EXPIRES CACHING


    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"

    EXPIRES CACHING

    By the looks of it, I bet you're using Wp Fastest Cache, is this correct? They have option to enable the leverage browser caching.

    https://developers.google.com/speed/pagespeed/insights/?url=vps-unlimited.com&tab=desktop

    https://gtmetrix.com/reports/vps-unlimited.com/rsI4Syqm

  • @MissFortune said:
    You should have a plugin or a simple code in your htaccess to fix the "Leverage browser caching" since you are using wordpress,

    https://gtmetrix.com/reports/vps-unlimited.com/rsI4Syqm

    No I am using W3 Total Cache :P

  • Not having these header won't keep these files cached on the browser side. If you specify a value, then the browser cache will kick in.

    Thanked by 1Ympker
  • MissFortuneMissFortune Member
    edited April 2016

    Here's something useful aswell
    https://pressjitsu.com/benchmark/?d=40232&h=DtVNPM&results

    I prefer using cloudflare's dns. It should minimize your DNS lookup.

    Thanked by 1Ympker
  • YmpkerYmpker Member
    edited April 2016

    Found this at the page I was looking at earlier as expire recommendation.
    Any good?

    ExpiresActive On

    ExpiresByType image/gif A2592000

    ExpiresByType image/png A2592000

    ExpiresByType image/jpg A2592000

    ExpiresByType image/jpeg A2592000

    Edit
    It seems though that within my plugin expire header is already enabled

  • That's 1 month expiration.

    How you go about configuring it depends. Mine is set to 15 days.

    Also, another resource, following Best Practices for Speeding Up Your Web Site, you should add the cache-control header and configure etags, you can also check your w3t's browser caching. Maybe you missed some options to check there like the etags.

    Thanked by 1Ympker
  • Right now it shows me leverage expire header to be working if you check "Performance" http://tools.pingdom.com/fpt/#!/dkr087/vps-unlimited.com

    I enabled it in the plugin :)

  • Google pagespeed gives me some errors I cant really follow probably due caused by minify (shrinks css files etc in my plugin). Something about java/css files blocking the rendering:

    https://developers.google.com/speed/pagespeed/insights/?url=http://vps-unlimited.com&tab=desktop

  • FalzoFalzo Member

    Congrats. Seems like you've found the holy grail. Static caching really makes a difference? Wow I am surprised.

    Or are you just trying to get traffic for your site. Oh you are selling VPS... at least... something like that... you're trying? I guess it's not relly summer yet.

    Thanked by 1k0nsl
  • @Falzo said:
    Congrats. Seems like you've found the holy grail. Static caching really makes a difference? Wow I am surprised.

    Or are you just trying to get traffic for your site. Oh you are selling VPS... at least... something like that... you're trying? I guess it's not relly summer yet.

    Heya,
    Yeah I didnt expect that much a performance change tbh.

    Uhm, well I have been more or less reselling VPS for about 2 years (mainly in forums at first and as of a couple of months with a website). The website however is still under continous maintenance and was setup because I wanted to take the step towards own dedicated resources instead of mere "reselling" thus I figured a website would be appropriate. As of the past months I have had about 100 orders, 80 customers and atm around ~30+ active services. Surely that is not a lot compared to others but something I am proud of nonetheless. Atm I am in the process of setting up a virtualizaton and new billing environment and will improve accordingly :)
    Feel free to check me out however most products will be deleted from the shop soon as these are still reseller plans.

  • mikhomikho Member, Host Rep

    what strikes me as somewhat odd is the difference in page size and number of requests from different parts of the world.

    is your site really that dynamic?

  • @mikho said:
    what strikes me as somewhat odd is the difference in page size and number of requests from different parts of the world.

    is your site really that dynamic?

    The page size decreased due to various shrinking plugins for images and html/css/js files. About the requests I am unsure myself :/

  • Use wp-rocket.me and my plugin rocket-footer-js. All in one solution for an A+ without much hassle. Also set expire to 10 hours if nonce's are used due to default expiry time.

    Thanked by 1Ympker
  • texhtexh Member

    Caching is obviously gonna help.. Why not go one step further and use something like varnish cache? Doesn't use too much resources iirc, and it'll make your site fly. Probably need its own VPS/IP at least though.
    https://www.varnish-cache.org/

  • @texh said:
    Caching is obviously gonna help.. Why not go one step further and use something like varnish cache? Doesn't use too much resources iirc, and it'll make your site fly. Probably need its own VPS/IP at least though.
    https://www.varnish-cache.org/

    I believe w3 total cache has a varnish option in settings :) just not enabled atm^^

  • The condescending TL;DR...

    Serving from memory is faster than disk. Caching static content is also kinder to the CPU. Get the right mix of both, you can scale better.

  • I have a small WordPress site that I just installed W3 Total Cache on. I can't really tell if it's helped and GTMetrix doesn't seem to have changed much.

    Several of the options are blocked because of it being a free version. Is there another recommended plugin that has more free options? Maybe my site is small enough already that it just won't make a difference.

    My slowest loading element is the google ad.

  • Maybe try Wp Fastest Cache? Works like a charm aswell. Although it is also freemium.
    My slowest loading element is livechatinc.com's code... down my site to 2 seconds.

  • @MissFortune said:
    Maybe try Wp Fastest Cache? Works like a charm aswell. Although it is also freemium.
    My slowest loading element is livechatinc.com's code... down my site to 2 seconds.

    Try twak.to :) believe its faster and free ;)

Sign In or Register to comment.