Te Toi o ngā Paetukutuku Tere

Te Toi o ngā Paetukutuku Tere

The Art of Fast Websites

Kua reri ki te ako i nga tinihanga e whakamahia ana e matou kia tere rawa atu a maatau paetukutuku, tere atu i nga kaiwhakarato CDN rongonui huri noa i te ao?

He uaua ki te utaina te paetukutuku WordPress noa i roto i te kotahi hēkona. Engari ko ngā paetukutuku e whakahaerehia ana e te Website World e whakamahi ana i ngā hangarau keteroki whakarei ake hei tuku tere tata tonu i waenga i te 50 me te 200 mirihekona mai i ngā kokonga katoa o te ao..

How Do We Achieve These Amazing Speeds?

It's really quite simple; we have a simple "publish" button, that will push websites changes around the world. This process pushes your pages and images as close as possible to where end users reside, wherever that is in the world. This may sound like an ordinary Content Delivery Service (CDN), but really it's quite different. A CDN only caches popular pages, and only for a short time. It then needs to go back to the origin server to load the latest version of the page (even if that page has not been changed in months, it cannot tell the difference).

What Is An "Origin Server"?

Ko te tūmau takenga te waahi e noho ana to paetukutuku. Ko etahi e whakaaro ana kei te noho to raatau paetukutuku "i te kapua" ranei "i runga ipurangi", engari kaore. Ka manaakihia o paetukutuku ki runga i tetahi tūmau, i tetahi pokapū raraunga, ki tetahi waahi o te ao. Ko taua waahi ka tino pa ki to tere. Ko te utaina wharangi mai i Raanana ki Aotearoa, he rereke ranei, ka tata ki te 500ms te toharite mo nga raraunga ki te haere huri noa i te ao. Mena ka taea e to kaihautu paetukutuku te tohatoha i to paetukutuku ma te CDN, ka tere ake to paetukutuku, engari kaore e rite ki te whakaata kua whakaputaina.

The hit rate on a CDN cache, is often less than 70%, meaning 3 out of 10 requests go back to the origin server. In fact, that statistic is misleading, because the typical wordpress website sets a session cookie, and thereafter, every page request goes back to the origin server. Only images and static resources are cached by the CDN.  

Why Are WordPress Websites Particularly Slow?

WordPress websites are quite amazing, because there are so many plugins to do all sorts of different things. WordPress has been designed to make it easy to add all sorts of features to your website, and mix and match the plugins. However, the websites generated by having lots of Wordpress Plugins actually slow down your website. Some plugins are worse than others. Likewise, you can add caching plugins like WP Rocket, and W3 Total Cache, that will speed up your website, but they will never deliver the speeds that the native Website World platform can deliver with static content pushed to edge nodes. This is especially so because most WordPress websites generate session cookies, when they are not needed. 

What Is A Session Cookie?

Ka taea te whakamahi pihikete hui ki te aro turuki i tetahi huihuinga manuhiri, ki te whai i o raatau whakaterenga, ki te pupuri i te kaata hokohoko, ki te pupuri ranei i te waahi takiuru. Ko te tikanga, kaua e hanga pihikete kia taapirihia e te kaiwhakamahi tetahi mea ki te kaata, ka takiuru ranei. Ki te whakamahi koe i nga pihikete aroturuki tuatoru, ka pa atu tena ki te tere o te ratonga aroturuki, engari ehara i a koe ake. Ko te awangawanga e pa ana ki nga pihikete waahi e pa ana anake ki te pehea e taunoa ai nga CDN ki te tuku i nga tono e pa ana ki te pihikete ki nga tūmau takenga.

Other Speed Mechanisms

Website World also uses many other secret tricks to speed up it's websites. We have all the typical settings like http2 keep alive and automatic gzip compression, but check out some of these others 

  • We automatically combine and compress all CSS files used by a webpage, saving server hits / bandwidth
  • We use very efficient javascript libraries, and only load the features required by a web page
  • The size of our HTML files is far smaller than a typical website generated by most other content management systems. Far, far smaller than Wix or WordPress.
  • Ka rongoatia e mātou te nuinga o te pātengi raraunga e whakamahia ana e ia paetukutuku, kia puta ai ngā whārangi mai i ngā raraunga kei roto i te mahara. Koinei te take he tere ake ā mātou whārangi tukutuku i a WordPress, ahakoa ka utaina mai i te tūmau taketake. Ahakoa te monomai rongoa WordPress pai rawa atu, kāore e taea te hinga i tā mātou arorau rongoa taketake.
  • We use the very best server architecture, with low CPU competition. Our servers average 5% CPU usage on average, and have more than enough RAM to ensure we never swap out to disk. Most of our RAM is dedicated to caching, not to page generation. 

Sample Speeds 

Sample speeds from around the world, independently tested by Hetrix Tools. 

  • Tamaki Makaurau ~ 30-100ms
  • Sydney ~ 30-100ms
  • Singapore ~ 30-100ms
  • London ~ 30-100ms 
  • Frankfurt ~ 30-100ms 
  • San Francisco ~ 30-100ms
  • Toronto ~ 30-100ms
  • New York ~ 100-200ms
  • Dallas ~ 100-200ms
  • Mumbai ~ 130-200ms
  • Moscow ~ 130-250ms
  • Tokyo ~ 100-200ms

Ko ngā tere i raro iho i te 100ms kei roto i te tāone kotahi me ō mātou pona taha. Ko ngā tere mai i te 100ms ki te 200ms e pā ana ki ngā tumanakohanga o ngā tere i roto i te whenua kotahi.

Ready to take advantage of our super fast websites? You can! Grab yourself a free trial today - mēnā rānei kua whai paetukutuku kē koe i tētahi atu wāhi, tono mai kia heke mai ki to maatau CMS mo koe!

Tags: manaaki tukutuku  

Posted: Monday 15 July 2019