Aulesi Katundu Wamabungwe Achikhalidwe ndi Socialite.js

liwiro kiyibodi

Lero ndinali ndi tsiku losangalatsa ndi gulu la intaneti pa Mndandanda wa Angie. Mndandanda wa Angie wakhala akupanga tsamba lawo kukhala laibulale yodabwitsa kwambiri ... ndipo nthawi yonseyi apitiliza kufulumizitsa tsamba lawo. Masamba awo amanyamula mwachangu kwambiri. Ngati simukundikhulupirira, pitani patsamba lino Makomo A Magalasi.

Tsambali limaphatikizira zithunzi, makanema, ndi mabatani ochezera ... ndipo amanyamula ma millisecond. Kuyerekeza tsamba lawo ndi langa kuli ngati kuthamanga Prius ndi F-16. Sanamalizebe, mwina, nthawi zonse kufunafuna njira zokuthandizani kuti makasitomala azitha kupeza zambiri ndikugawana nawo.

Tilibe gulu lantchito yanthawi zonse kapena chuma cha kampani yaboma, chifukwa chake kupita kwathu patsogolo kumachedwa pang'onopang'ono kuposa Mndandanda wa Angie. Tili ndi alendo abwino kwambiri omwe tili nawo Flywheel - kugwiritsa ntchito caching wawo wapamwamba ndi CDN, koma tikudziwa kuti pali zinthu zina zomwe zikutipweteka. Mwachitsanzo, zithunzi zathu sizinakonzedwe. Pali zintchito kunja uko zomwe mutha kusintha zithunzi zanu kukhala zazing'ono kukula kwake kwinaku mukumveka bwino… tikuyang'ana pa iwo.

Pomwe ndimkawawonetsa tsamba lathu, ndidanyinyirika ndikumangirira mutu wanga pomwe tsamba limazizira ndikunyamula batani. Ndikuganiza kuti inali Facebook. Argh… mphindi kapena ziwiri kenako batani lidawonekera ndipo tsamba lonselo lidanyamula. Ugh.

Nditalongosola zavutoli, injiniya wawo nthawi yomweyo adapeza yankho, Chikhalidwe. js. Socialite imapereka njira yosavuta yokhazikitsira ndikukhazikitsa mabatani ochezera - nthawi iliyonse yomwe mungafune. Pazolemba zambiri, pa hover ya nkhani, pazochitika zilizonse! Popeza socialite imadzaza mabatani mosavutikira, chikalatacho sichimangokhalira kudikirira 50kb yapa media.

Mwamwayi, pali kale pulogalamu yowonjezera ya WordPress yomwe imaphatikizira Socialite, yotchedwa WPSocialite. Usikuuno ndidatulutsanso nambala yanga yonse yosinthira mabatani ndikukhazikitsa WPSocialite. Ndinatha kusintha CSS ndikusintha mabatani omwe ndimafuna. Ndikuyembekezera mabatani ena owonjezeredwa mtsogolo - monga Buffer kapena Reddit… koma izi ndi zabwino pakadali pano!

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.