Jinsi ya Kupitisha Mtandao Wako Kwa Kufuta Utafutaji Bora

Kifungu kilichoandikwa na:
  • Search Engine Optimization
  • Imeongezwa: Aprili 24, 2018

* Kumbuka: Chapisho hili lilichapishwa kwanza mwezi wa Machi 2013. Baadhi ya zana nilizozieleza hapa labda zimekwisha muda.

Sio siri kwamba Google sasa inatumia kasi ya tovuti kama moja ya mambo ya cheo. Mwandishi wa Mtandao wa Wavuti wa Google alifanya utangazaji rasmi juu ya hii miaka kadhaa iliyopita:

You may have heard that here at Google we're obsessed with speed, in our products and on the web. As part of that effort, today we're including a new signal in our search ranking algorithms: site speed. Site speed reflects how quickly a website responds to web requests…

Na, Matt Cutts ameelezea mara kwa mara juu ya umuhimu wa utendaji wa tovuti ya kasi katika yake video na blogs.

Wakati wa kutafuta na kusoma zaidi juu ya mada hii, nilijitikia katika masomo kadhaa ya kesi ambayo kuthibitisha juu ya hili - Katika moja makala juu ya Tafuta Engine Watch, Kazi ya Kazi ya Kazi ilipata traffics ya ziada ya 40% baada ya kusafisha kanuni zake na viungo vilivyovunjwa; juu ya mwingine kesi utafiti, Mkurugenzi Mtendaji wa SmartFurniture.com alithibitisha kwamba tovuti hiyo ilifanya uongozi wa wingi katika nafasi za injini ya utafutaji tu kwa kuongeza utendaji wake wa tovuti.

Muda wa Mzigo wa Ukurasa wa Haraka pia unalingana na Uongofu Bora

Lakini kusubiri, kuna sababu zaidi kwa nini unapaswa kuchukua muda wa kuharakisha tovuti yako.

Katika utafiti mmoja wa watumiaji wa tovuti ya kusafiri, nilijifunza kuwa 57% ya watumiaji wa tovuti watangojea sekunde tatu au chini kabla ya kuacha tovuti.

The utafiti maarufu katika Tagman, inaonyesha kuwa ongezeko la pili la pili kwenye ukurasa wa mzigo wa ukurasa unaweza kusababisha karibu hasara ya 7 katika mabadiliko ya wateja.

Katika utafiti mwingine wa kesi katika Cloud Living, ushiriki wa tovuti ya wageni umeboreshwa na 19% (muda wa kikao cha wastani, angalia picha) baada ya uboreshaji wa kasi ya tovuti.

Tovuti ya haraka zaidi = Ziara za ukurasa zaidi kwa kipindi na kipindi cha muda mrefu. Chanzo: Tung Tran, CloudLiving.com.

Kwa kifupi, muda wa mzigo wa ukurasa hauathiri tu cheo cha utafutaji, pia huathiri sana kiwango cha uongofu na wageni kufikia. Kwa takwimu zaidi sawa, hakikisha unatembele Mashable kwa hili nzuri ya infographic.

Njia rahisi za kuboresha tovuti yako kasi

When I first learned about all these two years ago, I was like “Wow, there's so many benefits in this!”. What's come next is inevitably the question ‘how'. How do we speed up our websites? How do we measure the speed of our website and compare with others? How do we get things done without getting into too much technical details?

Ian Lurie aliandika Njia za 29 za Kupunguza Website Yako back in March 2011 and it's a true gem. If you are serious about tweaking your website speed, you should follow every single tips shared in the article.

Hata hivyo mengi ya ufumbuzi huu inaweza kuwa zaidi ya ujuzi wa kiufundi wa wamiliki tovuti ya kila siku na wanablogu.

Kwa hivyo nilidhani ningetembelea tena juu ya mada hii na kutafuta njia rahisi na kwa hivyo watumiaji wasiokuwa wa techie wanaweza kutekeleza bila kumwaga wakati mwingi na nguvu.

1. Slim Down Site yako

Mara nyingi wakati wakati wa mzigo wa ukurasa unapungua, inamaanisha tu ukurasa ni overweight.

Suluhisho ni rahisi: Nenda kwenye chakula!

Chunguza kikamilifu kwenye tovuti yako na ujiulize maswali haya:

  • Je! Unatunza CSS nyingi ambazo hazikutumiwa kwenye seva? Futa yao!
  • Are your images too large? Optimize them with Photoshop, Fireworks, or Smush It if you don't have a graphic software installed in your PC.
  • Je, unakuwa na vichwa vingi vya HTTP? Ondoa!
  • Je! Unashika maoni mengi ya barua taka? Maoni yasiyotafsiriwa katika sanduku lako la spam itapunguza muda wako wa kukabiliana na database. Ondoa asap!
  • Are you using too many plugins on your CMS? Are you using outdated plugins and scripts on your site? Well then it's time to do some clean up and updating job.
  • Je JavaScript yako ni nzito sana? Minify na compress it!

Wakati vidokezo hivi vinaonekana kuwa rahisi sana, sitashangaa kuona watendaji wa wavuti wenye uzoefu au waundaji wa wavuti wakishindwa kuendelea nayo.

A few years back I was careless and I wasn't aware that the WordPress theme I am using has a <?php wp_get_archives(‘type=monthly'); ?> embedded in the header.php file.

Needless to say, the function generates dozens of unnecessary lines in HTML files as time goes. It's a silly mistake that can be fixed in seconds, but then it took me more than 2 years to realized it as I wasn't looking on my own source code.

2. Avoid Unnecessary HTTP 300's, 400's and 500's

HTTP 300's refers to server redirects, HTTP 400's refers to authentication issues, and HTTP 500's refers to server errors – all these results for HTTP requests cause unnecessary extra round trips* for the browsers. While certain HTTP 300's are unavoidable (such as 301 redirection to a new page location), you should look into every HTTP 400's and 500's errors and try to fix every one of it.

* Je! Wakati wa safari ya Round anyway?

Kuzungumza kwa jumla, uzito wa ukurasa wa wavuti karibu 1,100KB kwa ukubwa na una vitu vingi vya 100 (chanzo); a web browser can only request 2 – 6 objects at a time depends on user's configuration. Round Trip Times is the number of round trip it takes for a browser to open up a page completely. For example, In order to load a webpage with 100 objects, a browser that is configured to carry 5 requests at a time will takes 20 round trips to load the webpage. Since the lesser round trip times it takes, the faster a webpage loads; we should minimize the number of objects available on one page.

3. Tumia Sprites ya CSS

CSS Sprites inahusu mbinu ambako picha nyingi ziliunganishwa kwenye faili moja ya picha na kuonyeshwa sehemu zake kwa watumiaji kwa wakati mmoja. Kutumia Sprites CSS kunapunguza idadi ya browsers safari ya pande zote na hivyo hufanya kurasa za wavuti kupakia kwa kasi.

Now wait, I know this might seems a little too much for some of you who don't like to get your hands wet on CSS but trust me, the concept is much simpler than it sounds. And, best of all, there are free tools online that can get things done without touching the CSS codes. Check out Sprite Me na Sprite Pad - mambo yanaweza kufanywa kwa drag chache-na-tone na bonyeza.

Sprite Pad

Sprite Pad

Sprite Me

Sprite Me

Pia, kwa kusoma zaidi na mifano ya CSS Sprites, tembelea hii na hii mafunzo.

4. Epuka kutumia CSS @import

CSS @import kazi husaidia kupakia stylesheet ya nje kwenye ukurasa wako wa wavuti. Jambo baya juu ya hili ni kwamba inaongeza nyongeza za ziada za mara kwa mara za kivinjari na kuongeza muda wako wa mzigo wa wavuti. Ili kutatua hili, tumia tu tag <link> badala.

In case you are a casual blogger and have no idea what am I talking about, just go have a look on your header.php (if you are using WordPress), ctrl + F and search for ‘@import', move .css files to the same server if necessary, replace @import lines with <link> instead.

Mfano, nafasi

@import url (".. .. style1.css"); @import url (".. .. style2.css")

kwa

<link rel = "stylesheet" href = "style1.css"> <link rel = "stylesheet" href = "style2.css">

5. Sasisha CMS yako

Naam hii ni hakuna-brainer, sawa? Sasisho zina maana ya kuongeza utendaji na usalama na angalau unaweza kufanya kwa wageni wako ni kuwaweka kwenye jukwaa la CMS iliyo updated.

6. Cache Yote Unaweza Cache

These days in most cases I rely on a third party plugin for caching. For one, I am too lazy to look into it; secondly, there are pros that can do things much better than me, why waste my energy in this? In case you are on WordPress, try WP Super Cache – it's one of the most popular cache Plugin ya WP wakati huu wa kuandika. Ikiwa wewe ni Joomla, angalia Cache Cleaner.

Kwa kifupi, programu hizi zinasaidia kuziba toleo la hivi karibuni la ukurasa wako wa wavuti na kupunguza mahitaji ya kuzalisha maudhui ya nguvu wakati wa ziara ya kurudia.

Kuna maelezo mengi ya kiufundi ya kuenea katika mada hii, jisikie huru kusoma zaidi hapa na hapa.

7. Pata On A Network Delivery Content (CDN)

A CDN stores your static files across servers worldwide and serves your web pages from different servers based on user's location. Example, when a user from Malaysia access to your website, the CDN will delivers your web content (mainly static files like images and HTML files) from the server located in Asia, say Singapore; on the other hand if the user is located at Mexico, the network will choose to deliver the content from a nearer server location, say United States.

Kuna bidhaa tofauti za CDN zinazopatikana huko nje lakini kwa ujumla CDN inaweza kugawanywa katika makundi mawili - Panda CDN na Push CDN. Kwa maelezo zaidi, nawapa uangalie kwenye baadhi ya huduma za CDN zinazojulikana kama vile MaxCDN na Wingu.

8. Fikiria Jeshi la Mtandao Bora

Ikiwa wewe ni mbaya kuhusu tweaking tovuti yako kwa kasi, fikiria kuokota mwenyeji bora.

Karibu mwaka mmoja uliopita nimebadilisha moja ya tovuti zangu kwenye akaunti iliyoshirikiwa katika Hostgator hadi WP injini (hosting msingi wa wingu). Mambo yalibadilika sana tangu nilipohamia, kasi ya mzigo wa ukurasa ulipungua kutoka kwa zaidi ya 900ms hadi 500ms - karibu na kuboresha 100% (tazama chati chini).

Ukurasa wa WHSR Inakiliwa Kasi

Lesson learned: Sometimes you just can't rely on the cheap stuffs. If you are paying less than $5 per month, don't expect to get on top of this speed game. If you want your website to load lighting fast, perhaps the easiest way to do so is to shift your website to a better web host.

9. Ongeza Database yako

Ikiwa uko kwenye MySQL, vitu vinaweza kufanywa kwa urahisi kwenye phpMyAdmin. Na kama wewe ni kwenye WordPress, mambo yanaweza kufanywa hata rahisi na Plugin sahihi. WP Optimize, kwa mfano, inakuwezesha kusafisha database yako kwa click chache tu.

10. Place Your Scripts At The Footer Whenever It's Possible

Njia moja rahisi ya kuboresha muda wa mzigo wa ukurasa wako kwa mtazamo wa wageni ni kuweka nambari na maandiko (kwa mfano, Google Analytics) kwenye mguu wowote wakati wowote iwezekanavyo. Ingawa naamini kuwa inasaidia sana katika kipindi cha SEO, kufanya hivyo hata hivyo huwafanya watazamaji wako wa tovuti wanahisi kwamba ukurasa unapakia kwa kasi zaidi - kwa vile inaruhusu maudhui muhimu kupakia kabla ya vivinjari kutekeleza maandiko.

Vidokezo Vingi Juu ya Kuendelea Tovuti Yako

Huko, sasa una vidokezo vya haraka vya 10 kuhusu jinsi ya kuboresha kasi ya tovuti.

I am sure there are many other methods to get the job done, why not tell us yours – What's your #1 tips for a non-techies to speed up their websites?

Kuhusu Jerry Low

Msanidi wa WebHostingSecretRevealed.net (WHSR) - mapitio ya ushirikiano yanayoaminika na kutumiwa na watumiaji wa 100,000. Zaidi ya uzoefu wa miaka 15 kwenye usambazaji wa wavuti, masoko ya washirika, na SEO. Mchangiaji kwa ProBlogger.net, Biashara.com, SocialMediaToday.com, na zaidi.