{"id":3764,"date":"2020-01-09T09:02:01","date_gmt":"2020-01-09T02:02:01","guid":{"rendered":"https:\/\/tino.vn\/?post_type=ht_kb&#038;p=3764"},"modified":"2025-07-15T17:56:42","modified_gmt":"2025-07-15T10:56:42","slug":"cach-kich-hoat-memcached-va-redis-cache-cho-website-tren-tinocache-plugins","status":"publish","type":"ht_kb","link":"https:\/\/tino.vn\/blog\/docs\/cach-kich-hoat-memcached-va-redis-cache-cho-website-tren-tinocache-plugins\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u00e1ch k\u00edch ho\u1ea1t Memcached v\u00e0 Redis cache cho website tr\u00ean TinoCache Plugins"},"content":{"rendered":"\n<p><strong>Trong m\u00f4i tr\u01b0\u1eddng web hosting, vi\u1ec7c t\u1ed1i \u01b0u h\u00f3a t\u1ed1c \u0111\u1ed9 t\u1ea3i trang v\u00e0 gi\u1ea3m t\u1ea3i cho c\u01a1 s\u1edf d\u1eef li\u1ec7u l\u00e0 y\u1ebfu t\u1ed1 quan tr\u1ecdng \u0111\u1ec3 n\u00e2ng cao tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng v\u00e0 hi\u1ec7u su\u1ea5t website. Memcached v\u00e0 Redis l\u00e0 hai c\u00f4ng c\u1ee5 l\u01b0u tr\u1eef b\u1ed9 nh\u1edb \u0111\u1ec7m (cache) ph\u1ed5 bi\u1ebfn, \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p trong TinoCache Plugins tr\u00ean d\u1ecbch v\u1ee5 <a href=\"https:\/\/tino.vn\/hosting-gia-re\" data-type=\"link\" data-id=\"https:\/\/tino.vn\/hosting-gia-re\" target=\"_blank\" rel=\"noreferrer noopener\">Cloud Hosting<\/a> c\u1ee7a Tino. B\u00e0i vi\u1ebft n\u00e0y s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1ch k\u00edch ho\u1ea1t Memcached v\u00e0 Redis cache cho website tr\u00ean TinoCache Plugins chi ti\u1ebft<\/strong>.<\/p>\n\n\n\n<h2 id=\"Memcached_v\u00e0_Redis_L\u00e0_G\u00ec?\">Memcached v\u00e0 Redis L\u00e0 G\u00ec?<\/h2>\n\n\n\n<h3 id=\"Memcached\"><strong>Memcached<\/strong><\/h3>\n\n\n\n<p>Memcached l\u00e0 m\u1ed9t h\u1ec7 th\u1ed1ng l\u01b0u tr\u1eef b\u1ed9 nh\u1edb \u0111\u1ec7m ph\u00e2n t\u00e1n, m\u00e3 ngu\u1ed3n m\u1edf, \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 t\u0103ng t\u1ed1c \u0111\u1ed9 truy xu\u1ea5t d\u1eef li\u1ec7u cho c\u00e1c \u1ee9ng d\u1ee5ng web \u0111\u1ed9ng. H\u1ec7 th\u1ed1ng n\u00e0y c\u00f3 kh\u1ea3 n\u0103ng l\u01b0u tr\u1eef d\u1eef li\u1ec7u d\u01b0\u1edbi d\u1ea1ng c\u1eb7p key-value trong b\u1ed9 nh\u1edb RAM, gi\u00fap gi\u1ea3m t\u1ea3i cho c\u01a1 s\u1edf d\u1eef li\u1ec7u b\u1eb1ng c\u00e1ch l\u01b0u tr\u1eef c\u00e1c k\u1ebft qu\u1ea3 truy v\u1ea5n, d\u1eef li\u1ec7u phi\u00ean (session), ho\u1eb7c n\u1ed9i dung t\u0129nh. <\/p>\n\n\n\n<p>\u0110\u1eb7c \u0111i\u1ec3m ch\u00ednh c\u1ee7a Memcached:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Hi\u1ec7u su\u1ea5t cao<\/strong>: Truy xu\u1ea5t d\u1eef li\u1ec7u t\u1eeb RAM nhanh h\u01a1n nhi\u1ec1u so v\u1edbi truy v\u1ea5n c\u01a1 s\u1edf d\u1eef li\u1ec7u truy\u1ec1n th\u1ed1ng.<\/li>\n\n\n\n<li><strong>\u0110\u01a1n gi\u1ea3n<\/strong>: Ch\u1ec9 h\u1ed7 tr\u1ee3 ki\u1ec3u d\u1eef li\u1ec7u key-value, kh\u00f4ng h\u1ed7 tr\u1ee3 c\u1ea5u tr\u00fac d\u1eef li\u1ec7u ph\u1ee9c t\u1ea1p.<\/li>\n\n\n\n<li><strong>Kh\u00f4ng l\u01b0u tr\u1eef l\u00e2u d\u00e0i<\/strong>: D\u1eef li\u1ec7u trong Memcached s\u1ebd m\u1ea5t khi m\u00e1y ch\u1ee7 kh\u1edfi \u0111\u1ed9ng l\u1ea1i.<\/li>\n<\/ul>\n\n\n\n<p><strong>\u1ee8ng d\u1ee5ng<\/strong>: Th\u00edch h\u1ee3p cho c\u00e1c website c\u1ea7n cache d\u1eef li\u1ec7u \u0111\u01a1n gi\u1ea3n, ch\u1eb3ng h\u1ea1n nh\u01b0 d\u1eef li\u1ec7u phi\u00ean ho\u1eb7c k\u1ebft qu\u1ea3 truy v\u1ea5n t\u0129nh.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/memcached-vs-redis-illustration-1024x512.jpg\" alt=\"Memcached v\u00e0 Redis L\u00e0 G\u00ec?\" class=\"wp-image-116873\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/memcached-vs-redis-illustration-1024x512.jpg 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/memcached-vs-redis-illustration-300x150.jpg 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/memcached-vs-redis-illustration-768x384.jpg 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/memcached-vs-redis-illustration.jpg 1460w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Memcached v\u00e0 Redis L\u00e0 G\u00ec?<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"Redis\"><strong>Redis<\/strong><\/h3>\n\n\n\n<p>Redis (Remote Dictionary Server) l\u00e0 m\u1ed9t kho d\u1eef li\u1ec7u NoSQL m\u00e3 ngu\u1ed3n m\u1edf, ho\u1ea1t \u0111\u1ed9ng nh\u01b0 m\u1ed9t b\u1ed9 nh\u1edb \u0111\u1ec7m ho\u1eb7c c\u01a1 s\u1edf d\u1eef li\u1ec7u trong RAM. Kh\u00f4ng gi\u1ed1ng Memcached, Redis h\u1ed7 tr\u1ee3 nhi\u1ec1u lo\u1ea1i c\u1ea5u tr\u00fac d\u1eef li\u1ec7u ph\u1ee9c t\u1ea1p nh\u01b0 chu\u1ed7i (string), danh s\u00e1ch (list), t\u1eadp h\u1ee3p (set), b\u1ea3ng b\u0103m (hash), v\u00e0 h\u01a1n th\u1ebf n\u1eefa. \u0110\u1eb7c \u0111i\u1ec3m ch\u00ednh c\u1ee7a Redis:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>H\u1ed7 tr\u1ee3 c\u1ea5u tr\u00fac d\u1eef li\u1ec7u \u0111a d\u1ea1ng<\/strong>: Cho ph\u00e9p th\u1ef1c hi\u1ec7n c\u00e1c ph\u00e9p to\u00e1n ph\u1ee9c t\u1ea1p tr\u00ean d\u1eef li\u1ec7u.<\/li>\n\n\n\n<li><strong>L\u01b0u tr\u1eef l\u00e2u d\u00e0i<\/strong>: C\u00f3 c\u01a1 ch\u1ebf sao l\u01b0u d\u1eef li\u1ec7u xu\u1ed1ng \u1ed5 c\u1ee9ng (persistence), gi\u00fap kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u khi h\u1ec7 th\u1ed1ng g\u1eb7p s\u1ef1 c\u1ed1.<\/li>\n\n\n\n<li><strong>T\u00ednh n\u0103ng n\u00e2ng cao<\/strong>: H\u1ed7 tr\u1ee3 c\u00e1c t\u00ednh n\u0103ng nh\u01b0 Pub\/Sub (xu\u1ea5t b\u1ea3n\/\u0111\u0103ng k\u00fd), scripting b\u1eb1ng Lua, v\u00e0 replication (sao ch\u00e9p d\u1eef li\u1ec7u).<\/li>\n<\/ul>\n\n\n\n<p><strong>\u1ee8ng d\u1ee5ng<\/strong>: Ph\u00f9 h\u1ee3p cho c\u00e1c website ho\u1eb7c \u1ee9ng d\u1ee5ng c\u1ea7n x\u1eed l\u00fd d\u1eef li\u1ec7u ph\u1ee9c t\u1ea1p v\u1edbi t\u1ed1c \u0111\u1ed9 cao, nh\u01b0 h\u1ec7 th\u1ed1ng chat, h\u00e0ng \u0111\u1ee3i, ho\u1eb7c website c\u00f3 l\u01b0\u1ee3ng truy c\u1eadp l\u1edbn.<\/p>\n\n\n\n<p>C\u1ea3 Memcached v\u00e0 Redis \u0111\u1ec1u gi\u00fap gi\u1ea3m th\u1eddi gian ph\u1ea3n h\u1ed3i c\u1ee7a website b\u1eb1ng c\u00e1ch l\u01b0u tr\u1eef d\u1eef li\u1ec7u th\u01b0\u1eddng xuy\u00ean truy c\u1eadp trong b\u1ed9 nh\u1edb RAM, t\u1eeb \u0111\u00f3 gi\u1ea3m t\u1ea3i cho c\u01a1 s\u1edf d\u1eef li\u1ec7u nh\u01b0 MySQL.<\/p>\n\n\n\n<p>2 ch\u1ee9c n\u0103ng n\u00e0y b\u1ea1n c\u00f3 th\u1ec3 b\u1eadt t\u1ea1i<strong> PHP Selector<\/strong> (M\u1ee5c <strong>Select PHP Version<\/strong>) =&gt; <strong>Extentions<\/strong> (\u00c1p d\u1ee5ng v\u1edbi c\u00e1c Hosting s\u1eed d\u1ee5ng Cloud Linux nh\u01b0 Tino ch\u1eb3ng h\u1ea1n).<\/p>\n\n\n\n<p>H\u00ecnh \u1ea3nh d\u01b0\u1edbi \u0111\u00e2y b\u1ea1n s\u1ebd th\u1ea5y t\u00f9y ch\u1ecdn Memcached v\u00e0 Redis:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"611\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_11-1-1024x611.png\" alt=\"Memcached v\u00e0 Redis trong cPanel\" class=\"wp-image-116858\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_11-1-1024x611.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_11-1-300x179.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_11-1-768x458.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_11-1.png 1470w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Memcached v\u00e0 Redis trong cPanel<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"TinoCache_Plugins_l\u00e0_g\u00ec?\"><strong>TinoCache Plugins l\u00e0 g\u00ec?<\/strong><\/h3>\n\n\n\n<p>TinoCache l\u00e0 m\u1ed9t plugin \u0111\u1ed9c quy\u1ec1n c\u1ee7a Tino, \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p tr\u00ean d\u1ecbch v\u1ee5 Cloud Hosting s\u1eed d\u1ee5ng h\u1ec7 \u0111i\u1ec1u h\u00e0nh CloudLinux. Plugin n\u00e0y cho ph\u00e9p qu\u1ea3n l\u00fd v\u00e0 k\u00edch ho\u1ea1t Memcached ho\u1eb7c Redis cache th\u00f4ng qua giao di\u1ec7n cPanel, gi\u00fap ng\u01b0\u1eddi d\u00f9ng d\u1ec5 d\u00e0ng t\u1ed1i \u01b0u h\u00f3a hi\u1ec7u su\u1ea5t website m\u00e0 kh\u00f4ng c\u1ea7n c\u1ea5u h\u00ecnh ph\u1ee9c t\u1ea1p.<\/p>\n\n\n\n<h4 id=\"Vai_tr\u00f2_c\u1ee7a_Unix_Socket\">Vai tr\u00f2 c\u1ee7a Unix Socket<\/h4>\n\n\n\n<p>Tino s\u1eed d\u1ee5ng <strong>Unix Socket<\/strong> thay v\u00ec giao th\u1ee9c TCP\/IP \u0111\u1ec3 k\u1ebft n\u1ed1i Memcached v\u00e0 Redis, mang l\u1ea1i hi\u1ec7u su\u1ea5t v\u01b0\u1ee3t tr\u1ed9i:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>T\u1ed1c \u0111\u1ed9 cao h\u01a1n<\/strong>: Unix Socket ho\u1ea1t \u0111\u1ed9ng tr\u1ef1c ti\u1ebfp trong nh\u00e2n h\u1ec7 \u0111i\u1ec1u h\u00e0nh, tr\u00e1nh c\u00e1c b\u01b0\u1edbc ki\u1ec3m tra ho\u1eb7c \u0111\u1ecbnh tuy\u1ebfn c\u1ee7a TCP\/IP, gi\u00fap gi\u1ea3m \u0111\u1ed9 tr\u1ec5 (latency) t\u1eeb 60ms xu\u1ed1ng c\u00f2n kho\u1ea3ng 5ms.<\/li>\n\n\n\n<li><strong>T\u0103ng hi\u1ec7u su\u1ea5t<\/strong>: Theo Tino th\u1eed nghi\u1ec7m, Unix Socket gi\u00fap t\u0103ng t\u1ed1c \u0111\u1ed9 truy c\u1eadp MySQL l\u00ean 30-50%, PostgreSQL h\u01a1n 30% v\u00e0 Redis l\u00ean 50% so v\u1edbi TCP\/IP.<\/li>\n\n\n\n<li><strong>T\u00e0i nguy\u00ean chung<\/strong>: Memcached v\u00e0 Redis s\u1eed d\u1ee5ng t\u00e0i nguy\u00ean c\u1ee7a hosting (RAM, CPU), \u0111\u1ea3m b\u1ea3o t\u00edch h\u1ee3p m\u01b0\u1ee3t m\u00e0 v\u1edbi h\u1ec7 th\u1ed1ng CloudLinux.<\/li>\n<\/ul>\n\n\n\n<p>M\u1ed7i t\u00e0i kho\u1ea3n hosting s\u1ebd c\u00f3 m\u1ed9t \u0111\u01b0\u1eddng d\u1eabn Unix Socket ri\u00eang bi\u1ec7t, t\u01b0\u01a1ng \u1ee9ng v\u1edbi ng\u01b0\u1eddi d\u00f9ng cPanel, \u0111\u1ea3m b\u1ea3o t\u00ednh b\u1ea3o m\u1eadt v\u00e0 \u0111\u1ed9c l\u1eadp.<\/p>\n\n\n\n<h2 id=\"C\u00e1ch_k\u00edch_ho\u1ea1t_Memcached_v\u00e0_Redis_cache_cho_website_tr\u00ean_TinoCache_Plugins_\u1edf_d\u1ecbch_v\u1ee5_Cloud_Hosting_c\u1ee7a_Tino\">C\u00e1ch k\u00edch ho\u1ea1t Memcached v\u00e0 Redis cache cho website tr\u00ean TinoCache Plugins \u1edf d\u1ecbch v\u1ee5 Cloud Hosting c\u1ee7a Tino<\/h2>\n\n\n\n<p>D\u01b0\u1edbi \u0111\u00e2y l\u00e0 h\u01b0\u1edbng d\u1eabn chi ti\u1ebft \u0111\u1ec3 k\u00edch ho\u1ea1t Memcached ho\u1eb7c Redis cache th\u00f4ng qua TinoCache Plugins tr\u00ean cPanel:<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_1:_\u0110\u0103ng_Nh\u1eadp_v\u00e0o_cPanel\"><strong>B\u01b0\u1edbc 1: \u0110\u0103ng Nh\u1eadp v\u00e0o cPanel<\/strong><\/h3>\n\n\n\n<p>Truy c\u1eadp b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n cPanel b\u1eb1ng th\u00f4ng tin \u0111\u0103ng nh\u1eadp do Tino cung c\u1ea5p.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"558\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_1-1024x558.png\" alt=\"\u0110\u0103ng Nh\u1eadp v\u00e0o cPanel\" class=\"wp-image-116854\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_1-1024x558.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_1-300x164.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_1-768x419.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_1.png 1454w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>\u0110\u0103ng Nh\u1eadp v\u00e0o cPanel<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Tham kh\u1ea3o t\u1ea1i b\u00e0i vi\u1ebft: <a href=\"https:\/\/tino.vn\/blog\/docs\/cach-dang-nhap-vao-tai-khoan-cpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\">H\u01b0\u1edbng d\u1eabn c\u00e1ch \u0111\u0103ng nh\u1eadp v\u00e0o t\u00e0i kho\u1ea3n cPanel t\u1ea1i Tino<\/a><\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_2:_Ki\u1ec3m_Tra_Phi\u00ean_B\u1ea3n_PHP_v\u00e0_Extensions\"><strong>B\u01b0\u1edbc 2: Ki\u1ec3m Tra Phi\u00ean B\u1ea3n PHP v\u00e0 Extensions<\/strong><\/h3>\n\n\n\n<p>Trong cPanel, t\u00ecm v\u00e0 nh\u1ea5p v\u00e0o m\u1ee5c <strong>Select PHP Version<\/strong> (ho\u1eb7c <strong>PHP Selector<\/strong>) trong ph\u1ea7n <strong>Software<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_9-1024x562.png\" alt=\"Ki\u1ec3m Tra Phi\u00ean B\u1ea3n PHP v\u00e0 Extensions\" class=\"wp-image-116855\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_9-1024x562.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_9-300x165.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_9-768x422.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_9.png 1129w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m Tra Phi\u00ean B\u1ea3n PHP v\u00e0 Extensions<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Chuy\u1ec3n sang tab <strong>Extensions<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"809\" height=\"402\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_10.png\" alt=\"Ki\u1ec3m Tra Phi\u00ean B\u1ea3n PHP v\u00e0 Extensions\" class=\"wp-image-116856\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_10.png 809w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_10-300x149.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_10-768x382.png 768w\" sizes=\"(max-width: 809px) 100vw, 809px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m Tra Phi\u00ean B\u1ea3n PHP v\u00e0 Extensions<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Ki\u1ec3m tra v\u00e0 k\u00edch ho\u1ea1t extension t\u01b0\u01a1ng \u1ee9ng:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu mu\u1ed1n d\u00f9ng Memcached, ch\u1ecdn <strong>memcached<\/strong>.<\/li>\n\n\n\n<li>N\u1ebfu mu\u1ed1n d\u00f9ng Redis, ch\u1ecdn <strong>redis<\/strong>.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"594\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_12-1024x594.png\" alt=\"Ki\u1ec3m Tra Phi\u00ean B\u1ea3n PHP v\u00e0 Extensions\" class=\"wp-image-116859\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_12-1024x594.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_12-300x174.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_12-768x445.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_12.png 1471w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Ki\u1ec3m Tra Phi\u00ean B\u1ea3n PHP v\u00e0 Extensions<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>H\u1ec7 th\u00f4ng s\u1ebd t\u1ef1 \u0111\u1ed9ng l\u01b0u thay \u0111\u1ed5i sau khi b\u1ea1n ch\u1ecdn. Nh\u1ea5n <strong>F5<\/strong> \u0111\u1ec3 ki\u1ec3m tra n\u1ebfu th\u1ea5y load l\u00e2u.<\/p>\n\n\n\n<p>N\u1ebfu extension v\u1eabn ch\u01b0a \u0111\u01b0\u1ee3c b\u1eadt, b\u1ea1n c\u1ea7n li\u00ean h\u1ec7 Tino \u0111\u1ec3 \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_3:_Truy_C\u1eadp_TinoCache_Plugin\"><strong>B\u01b0\u1edbc 3: Truy C\u1eadp TinoCache Plugin<\/strong><\/h3>\n\n\n\n<p>Trong cPanel, t\u00ecm m\u1ee5c <strong>TinoCache Plugin<\/strong> (n\u1eb1m trong ph\u1ea7n <strong>TinoHost Plugin<\/strong>).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1000\" height=\"574\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_13.png\" alt=\"Truy C\u1eadp TinoCache Plugin\" class=\"wp-image-116874\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_13.png 1000w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_13-300x172.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_13-768x441.png 768w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\"><strong><strong>Truy C\u1eadp TinoCache Plugin<\/strong><\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>T\u1ea1i \u0111\u00e2y, b\u1ea1n s\u1ebd th\u1ea5y giao di\u1ec7n qu\u1ea3n l\u00fd b\u1ed9 nh\u1edb \u0111\u1ec7m v\u00e0 c\u00e1c t\u00f9y ch\u1ecdn \u0111\u1ec3 b\u1eadt\/t\u1eaft Memcached ho\u1eb7c Redis.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_14-1024x526.png\" alt=\"Truy C\u1eadp TinoCache Plugin\" class=\"wp-image-116861\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_14-1024x526.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_14-300x154.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_14-768x395.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_14.png 1449w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Truy C\u1eadp TinoCache Plugin<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"B\u01b0\u1edbc_4:_K\u00edch_Ho\u1ea1t_Memcached_ho\u1eb7c_Redis\"><strong>B\u01b0\u1edbc 4: K\u00edch Ho\u1ea1t Memcached ho\u1eb7c Redis<\/strong><\/h3>\n\n\n\n<p>Nh\u1ea5n n\u00fat <strong>Active<\/strong> t\u1ea1i Memcached ho\u1eb7c Redis t\u00f9y theo nhu c\u1ea7u c\u1ee7a b\u1ea1n \u0111\u1ec3 k\u00edch ho\u1ea1t. <\/p>\n\n\n\n<p>H\u1ec7 th\u1ed1ng s\u1ebd cung c\u1ea5p m\u1ed9t \u0111\u01b0\u1eddng d\u1eabn Unix Socket ri\u00eang (v\u00ed d\u1ee5: \/home\/username\/.redis.sock ho\u1eb7c \/home\/username\/.memcached.sock).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"487\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_16-1024x487.png\" alt=\"K\u00edch Ho\u1ea1t Memcached ho\u1eb7c Redis\" class=\"wp-image-116860\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_16-1024x487.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_16-300x143.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_16-768x365.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_16-1536x730.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_16.png 1567w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>K\u00edch Ho\u1ea1t Memcached ho\u1eb7c Redis<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>L\u01b0u l\u1ea1i \u0111\u01b0\u1eddng d\u1eabn n\u00e0y \u0111\u1ec3 s\u1eed d\u1ee5ng trong c\u1ea5u h\u00ecnh website (\u0111\u1eb7c bi\u1ec7t v\u1edbi WordPress).<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_5:_C\u1ea5u_H\u00ecnh_Website_(WordPress)\"><strong>B\u01b0\u1edbc 5: C\u1ea5u H\u00ecnh Website (WordPress)<\/strong><\/h3>\n\n\n\n<p>N\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng WordPress, c\u1ea7n c\u1ea5u h\u00ecnh th\u00eam \u0111\u1ec3 k\u1ebft n\u1ed1i v\u1edbi Memcached ho\u1eb7c Redis:<\/p>\n\n\n\n<h4 id=\"C\u1ea5u_H\u00ecnh_Redis\">C\u1ea5u H\u00ecnh Redis<\/h4>\n\n\n\n<p>C\u00e0i \u0111\u1eb7t plugin <strong>Redis Object Cache<\/strong> t\u1eeb kho WordPress.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"518\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_17-1024x518.png\" alt=\"C\u1ea5u H\u00ecnh Redis\" class=\"wp-image-116862\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_17-1024x518.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_17-300x152.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_17-768x388.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_17-1536x777.png 1536w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_17.png 1675w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u H\u00ecnh Redis<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Sau khi k\u00edch ho\u1ea1t plugin, ch\u1ec9nh s\u1eeda file wp-config.php trong th\u01b0 m\u1ee5c g\u1ed1c c\u1ee7a website, d\u00e1n \u0111o\u1ea1n m\u00e3 d\u01b0\u1edbi \u0111\u00e2y v\u00e0o \u0111\u1ea7u file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define('WP_CACHE', true);\ndefine('WP_REDIS_HOST', 'redis');\ndefine('WP_REDIS_SCHEME', 'unix');\ndefine('WP_REDIS_PATH', '\/home\/username\/.redis.sock'); \ndefine('WP_REDIS_CLIENT', 'pecl');\ndefine('WP_CACHE_KEY_SALT', 'yourdomain.com'); <\/code><\/pre>\n\n\n\n<p><strong>L\u01b0u \u00fd:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\/home\/username\/.redis.sock<\/strong>: Thay b\u1eb1ng \u0111\u01b0\u1eddng d\u1eabn Unix Socket c\u1ee7a b\u1ea1n<\/li>\n\n\n\n<li><strong>yourdomain.com: <\/strong>Thay b\u1eb1ng t\u00ean mi\u1ec1n c\u1ee7a b\u1ea1n<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"996\" height=\"571\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_18-1.png\" alt=\"C\u1ea5u H\u00ecnh Redis\" class=\"wp-image-116865\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_18-1.png 996w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_18-1-300x172.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_18-1-768x440.png 768w\" sizes=\"(max-width: 996px) 100vw, 996px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u H\u00ecnh Redis<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>L\u01b0u file v\u00e0 ki\u1ec3m tra tr\u1ea1ng th\u00e1i trong <strong>Settings -&gt; Redis<\/strong> trong b\u1ea3ng qu\u1ea3n tr\u1ecb WordPress. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"923\" height=\"537\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_19.png\" alt=\"C\u1ea5u H\u00ecnh Redis\" class=\"wp-image-116864\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_19.png 923w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_19-300x175.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_19-768x447.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u H\u00ecnh Redis<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>N\u1ebfu hi\u1ec3n th\u1ecb nh\u01b0 th\u1ebf n\u00e0y, c\u1ea5u h\u00ecnh \u0111\u00e3 th\u00e0nh c\u00f4ng:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"613\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_20-1024x613.png\" alt=\"C\u1ea5u H\u00ecnh Redis\" class=\"wp-image-116867\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_20-1024x613.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_20-300x180.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_20-768x460.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_20.png 1100w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u H\u00ecnh Redis<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<h4 id=\"C\u1ea5u_H\u00ecnh_Memcached\">C\u1ea5u H\u00ecnh Memcached<\/h4>\n\n\n\n<p>C\u00e0i \u0111\u1eb7t v\u00e0 k\u00edch ho\u1ea1t plugin <strong>W3 Total Cache<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"836\" height=\"551\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_21.png\" alt=\"C\u1ea5u H\u00ecnh Redis\" class=\"wp-image-116868\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_21.png 836w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_21-300x198.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_21-768x506.png 768w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u H\u00ecnh Memcached<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Trong <strong>W3 Total Cache<\/strong>, v\u00e0o <strong>Performance <\/strong>-&gt;<strong> General Settings<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"550\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_22-1024x550.png\" alt=\"C\u1ea5u H\u00ecnh Memcached\" class=\"wp-image-116869\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_22-1024x550.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_22-300x161.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_22-768x412.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_22.png 1358w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>C\u1ea5u H\u00ecnh Memcached<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p>Nh\u1ea5n <strong>Skip <\/strong>\u0111\u1ec3 truy c\u1eadp v\u00e0o ph\u1ea7n c\u00e0i \u0111\u1eb7t t\u1ed5ng quan.<\/p>\n\n\n\n<p>K\u00edch ho\u1ea1t <strong>Page Cache<\/strong>, <strong>Database Cache<\/strong> v\u00e0 <strong>Object Cache<\/strong> \u0111\u1ed3ng th\u1eddi, ch\u1ecdn <strong>Memcached<\/strong> l\u00e0m ph\u01b0\u01a1ng th\u1ee9c cache.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"402\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_23-1024x402.png\" alt=\"Page Cache\" class=\"wp-image-116870\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_23-1024x402.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_23-300x118.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_23-768x302.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_23.png 1143w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong>Page Cache<\/strong><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"399\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_24-1024x399.png\" alt=\" Database Cache\" class=\"wp-image-116871\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_24-1024x399.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_24-300x117.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_24-768x299.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_24.png 1167w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"> <strong>Database Cache<\/strong><\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"421\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_25-1024x421.png\" alt=\" Object Cache\" class=\"wp-image-116872\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_25-1024x421.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_25-300x123.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_25-768x316.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2020\/01\/Screenshot_25.png 1374w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"> <strong>Object Cache<\/strong><\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>L\u01b0u \u00fd:<\/strong> Kh\u00f4ng n\u00ean b\u1eadt <strong>Database Cache<\/strong> n\u1ebfu website d\u00f9ng shared hosting ho\u1eb7c qu\u00e1 \u00edt RAM.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_6:_Ki\u1ec3m_Tra_K\u1ebft_Qu\u1ea3\"><strong>B\u01b0\u1edbc 6: Ki\u1ec3m Tra K\u1ebft Qu\u1ea3<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Truy c\u1eadp website v\u00e0 ki\u1ec3m tra t\u1ed1c \u0111\u1ed9 t\u1ea3i trang b\u1eb1ng c\u00e1c c\u00f4ng c\u1ee5 nh\u01b0 <strong><a href=\"https:\/\/pagespeed.web.dev\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/pagespeed.web.dev\/\" rel=\"noreferrer noopener nofollow\">Google PageSpeed Insights<\/a><\/strong> ho\u1eb7c <strong><a href=\"https:\/\/gtmetrix.com\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/gtmetrix.com\/\" rel=\"noreferrer noopener nofollow\">GTmetrix<\/a><\/strong>.<\/li>\n\n\n\n<li>N\u1ebfu s\u1eed d\u1ee5ng WordPress, ki\u1ec3m tra tr\u1ea1ng th\u00e1i cache trong plugin ho\u1eb7c giao di\u1ec7n TinoCache \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o Memcached\/Redis \u0111ang ho\u1ea1t \u0111\u1ed9ng.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"L\u01b0u_\u00dd_Quan_Tr\u1ecdng\">L\u01b0u \u00dd Quan Tr\u1ecdng<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>T\u00e0i nguy\u00ean chung<\/strong>: Memcached v\u00e0 Redis s\u1eed d\u1ee5ng t\u00e0i nguy\u00ean c\u1ee7a hosting (RAM, CPU). \u0110\u1ea3m b\u1ea3o g\u00f3i hosting c\u1ee7a b\u1ea1n c\u00f3 \u0111\u1ee7 t\u00e0i nguy\u00ean \u0111\u1ec3 tr\u00e1nh \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn hi\u1ec7u su\u1ea5t.<\/li>\n\n\n\n<li><strong>Kh\u1eafc ph\u1ee5c l\u1ed7i<\/strong>: N\u1ebfu g\u1eb7p l\u1ed7i khi k\u00edch ho\u1ea1t, ki\u1ec3m tra:\n<ul class=\"wp-block-list\">\n<li>Extension Memcached\/Redis \u0111\u00e3 \u0111\u01b0\u1ee3c b\u1eadt trong PHP Selector.<\/li>\n\n\n\n<li>\u0110\u01b0\u1eddng d\u1eabn Unix Socket c\u00f3 ch\u00ednh x\u00e1c kh\u00f4ng.<\/li>\n\n\n\n<li>Li\u00ean h\u1ec7 \u0111\u1ed9i ng\u0169 h\u1ed7 tr\u1ee3 c\u1ee7a Tino qua hotline, ticket ho\u1eb7c live chat \u0111\u1ec3 \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Ch\u1ecdn Memcached hay Redis?<\/strong>:\n<ul class=\"wp-block-list\">\n<li>S\u1eed d\u1ee5ng <strong>Memcached<\/strong> n\u1ebfu website c\u1ee7a b\u1ea1n ch\u1ec9 c\u1ea7n cache d\u1eef li\u1ec7u \u0111\u01a1n gi\u1ea3n v\u00e0 kh\u00f4ng y\u00eau c\u1ea7u l\u01b0u tr\u1eef l\u00e2u d\u00e0i.<\/li>\n\n\n\n<li>S\u1eed d\u1ee5ng <strong>Redis<\/strong> n\u1ebfu website c\u1ea7n x\u1eed l\u00fd d\u1eef li\u1ec7u ph\u1ee9c t\u1ea1p, y\u00eau c\u1ea7u l\u01b0u tr\u1eef l\u00e2u d\u00e0i, ho\u1eb7c c\u00f3 l\u01b0\u1ee3ng truy c\u1eadp l\u1edbn.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 id=\"K\u1ebft_lu\u1eadn\">K\u1ebft lu\u1eadn<\/h3>\n\n\n\n<p>V\u1edbi TinoCache Plugins tr\u00ean d\u1ecbch v\u1ee5 Cloud Hosting c\u1ee7a TinoHost, vi\u1ec7c k\u00edch ho\u1ea1t v\u00e0 qu\u1ea3n l\u00fd Memcached\/Redis tr\u1edf n\u00ean \u0111\u01a1n gi\u1ea3n v\u00e0 hi\u1ec7u qu\u1ea3 nh\u1edd t\u00edch h\u1ee3p Unix Socket v\u00e0 giao di\u1ec7n cPanel. B\u1eb1ng c\u00e1ch l\u00e0m theo c\u00e1c b\u01b0\u1edbc tr\u00ean, b\u1ea1n c\u00f3 th\u1ec3 d\u1ec5 d\u00e0ng tri\u1ec3n khai cache \u0111\u1ec3 t\u0103ng t\u1ed1c \u0111\u1ed9 website, c\u1ea3i thi\u1ec7n SEO v\u00e0 n\u00e2ng cao tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trong m\u00f4i tr\u01b0\u1eddng web hosting, vi\u1ec7c t\u1ed1i \u01b0u h\u00f3a t\u1ed1c \u0111\u1ed9 t\u1ea3i trang v\u00e0 gi\u1ea3m t\u1ea3i cho c\u01a1 s\u1edf d\u1eef li\u1ec7u l\u00e0 y\u1ebfu t\u1ed1 quan tr\u1ecdng \u0111\u1ec3 n\u00e2ng cao tr\u1ea3i nghi\u1ec7m ng\u01b0\u1eddi d\u00f9ng v\u00e0 hi\u1ec7u su\u1ea5t website. Memcached v\u00e0 Redis l\u00e0 hai c\u00f4ng c\u1ee5 l\u01b0u tr\u1eef b\u1ed9 nh\u1edb \u0111\u1ec7m (cache) ph\u1ed5 bi\u1ebfn, \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":116877,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"tags":[],"ht_kb_category":[5151],"class_list":["post-3764","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-cpanel"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/3764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=3764"}],"version-history":[{"count":6,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/3764\/revisions"}],"predecessor-version":[{"id":116886,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb\/3764\/revisions\/116886"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/116877"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=3764"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=3764"},{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/ht_kb_category?post=3764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}