Trong bài viết này mình sẽ hướng dẫn bạn cách cài đặt và sử dụng Varnish làm front-end cho Nginx hoặc Apache để cache các request HTTP nhanh hơn mà không cần phải nhờ đến webserver xử lý. Varnish là một hệ thống cache được dùng để tăng tốc server, đặc biệt là với những hệ thống lớn, có trafic nhiều. Varnish hoạt động bằng..
Read moreInstall the Distro-Stable Version of Node.js with YUM In order to download this version, we will use the yum package manager. Update your yum packages: sudo yum update Install Node.js: sudo yum install nodejs Verify the current version of Node.js: node –version Install npm (Node Package Manager): sudo yum install npm Install Node.js using NVM Instead of using yum, you can install..
Read moreBước 1: Lấy link video picasa dựa vào RSS: Ví dụ: http://redirector.googlevideo.com/videoplayback?id=e72b617775f4e090&itag=5&source=picasa&cmo=sensitive_content%3Dyes&ip=0.0.0.0&ipbits=0&expire=1401870838&sparams=id,itag,source,ip,ipbits,expire&signature=7B3729E5732AE2399FF2AB5A539229E06E3ED6B5.4A5B6DD9D3CD5F10C973B48C822A56AC27875889&key=lh1 (Link trên sẽ hết hạn theo thời gian, link chỉ có giá trị minh họa.Hoặc bạn có thể lấy link tại RSS sau: http://picasaweb.google.com/data/entry/api/user/116918391913616722990/albumid/6012960367881032401/photoid/6012960371327767570?prettyprint=true Bước 2: Giải mã URL (url decode) vừa lấy được Ta được: http://redirector.googlevideo.com/videoplayback?id=e72b617775f4e090&itag=5&source=picasa&cmo=sensitive_content=yes&ip=0.0.0.0&ipbits=0&expire=1401870838&sparams=id,itag,source,ip,ipbits,expire&signature=7B3729E5732AE2399FF2AB5A539229E06E3ED6B5.4A5B6DD9D3CD5F10C973B48C822A56AC27875889&key=lh1 Bước 3: Sửa tất cả &..
Read moreDozens of video sharing sites may offer streaming video that plays back in higher quality than YouTube, but if you want eyeballs (and millions of them), then Google’s monstrously popular YouTube is the place to be. For a long time, all you could do with YouTube as a web publisher was embed its hosted videos..
Read moreW3 Total Cache là một plugin hỗ trợ tăng tốc (tạo bộ nhớ đệm) rất tốt và chuyên nghiệp nhất hiện nay mà lại hoàn toàn miễn phí, tuy cách sử dụng và cài đặt có thể hơi khó. Sở dĩ lại có chuyện này là vì W3 Total Cache hỗ trợ tới kỹ thuật..
Read moreWhy install PHP + FastCGI? Mod-PHP comes installed with XAMPP, and it is slow. You also cannot utilise the Zend opcode cache, which is included with PHP itself since PHP 5.5. Steps to install PHP + FastCGI
Read moreNói cho dễ nhất , V-sync có nghĩa là "đồng bộ fps trong game với độ làm tươi của màn hình" (Refresh rate) nói nhỏ : V-Sync = Vertical Synchronization , fps là frame per second trong game !!! Mỗi màn hình đều có Refresh rate của nó , hay ta còn gọi là độ..
Read moreThe rain beats hard at my window While you, so softly do sleep And you can’t hear the cold wind blow You are sleeping so deep Outside its dark, the moon hiding By starlight only I see The hosts of the night-time go riding But you are safe here with me
Read more<script type="text/javascript" src="../blog/mp3/swfobject.js"></script><embed src="../blog/mp3/flvplayer.swf" allowfullscreen="true" allowscriptaccess="always" flashvars="&file=../blog/mp3/flvplayer.xml&displayheight=150&backcolor=0x#319A63&frontcolor=0xFFFFFF&lightcolor=0xFFFFFF&showdigits=true&showeq=true&showfsbutton=true&autostart=false&shuffle=false&repeat=true;volume=100;width=100%&height=700" width="100%" height="500" />
Read more
[WP] W3 Total Cache settings with Cloudflare GUIDE
W3 Total cache is a WordPress Performance Optimization framework that is designed to improve user experience and page speed. It is recommended by many web hosting providers, and used by countless major websites such as mashable.com as well as many others. W3TC improves the user experience of your site by increasing web server performance by reducing..
Read more