<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>server on AnyStack</title><link>https://anystack.xyz/tag/server/</link><description>Recent content in server on AnyStack</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 16 Aug 2018 15:43:46 +0000</lastBuildDate><atom:link href="https://anystack.xyz/tag/server/index.xml" rel="self" type="application/rss+xml"/><item><title>Optimize easily your WordPress images without any plugin</title><link>https://anystack.xyz/optimize-wordpress-images-without-plugin/</link><pubDate>Sun, 23 Oct 2016 05:52:28 +0000</pubDate><guid>https://anystack.xyz/optimize-wordpress-images-without-plugin/</guid><description>&lt;img src="https://anystack.xyz/images/2016/10/Optimize--2--min.png" alt="Featured image of post Optimize easily your WordPress images without any plugin" /&gt;&lt;p&gt;You want to improve your pagespeed score by optimizing your images in WordPress ? But you don&amp;rsquo;t want to pay a subscription for a plugin ? If you are using a VPS or a dedicated server, you don&amp;rsquo;t need any plugin to optimize all your images easily.&lt;/p&gt;&#10;&lt;p&gt;For that you can use this script :&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-gdscript3" data-lang="gdscript3"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# For debian/Ubuntu&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;wget&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;qO&lt;/span&gt; &lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;virtubox&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;virtubox&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;wp&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;deb&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;wp&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;bash&lt;/span&gt; &lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;#For Centos/RedHat&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;wget&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;qO&lt;/span&gt; &lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;virtubox&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;net&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;virtubox&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;wp&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;master&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;centos&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;wp&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;bash&lt;/span&gt; &lt;span class="n"&gt;optimize&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you want to do the process manually&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# Debian/Ubuntu&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get update &amp;amp;&amp;amp; apt-get install optipng jpegoptim -y&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;# Centos&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;yum update &amp;amp;&amp;amp; yum install optipng jpegoptim -y&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then you just have to go in your web directory and to run the following commands :&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-gdscript3" data-lang="gdscript3"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;*.&lt;/span&gt;&lt;span class="n"&gt;jp&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;xargs&lt;/span&gt; &lt;span class="n"&gt;jpegoptim&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;strip&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;all&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;m76&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;iname&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;*.png&amp;#39;&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;print0&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;xargs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="n"&gt;optipng&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;o7&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;preserve&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Making WordPress faster by running wp-cron with Linux</title><link>https://anystack.xyz/making-wordpress-faster-running-wp-cron-linux/</link><pubDate>Thu, 15 Sep 2016 05:54:00 +0000</pubDate><guid>https://anystack.xyz/making-wordpress-faster-running-wp-cron-linux/</guid><description>&lt;img src="https://anystack.xyz/images/2016/10/AnyStack---wp-cron--2--1.png" alt="Featured image of post Making WordPress faster by running wp-cron with Linux" /&gt;&lt;p&gt;WordPress use wp-cron to check updates for themes, plugins and some other process but it could have an impact on your website speed because WordPress execute it on every page-loading. So if you have a lot of traffic, it will (no benchmark proof at the moment) delay page loading for users.&lt;/p&gt;&#10;&lt;p&gt;So if you are using a linux server (VPS or dedicated), you can easily create a cron job to run it each 5 minutes or each 10 minutes. But remember WordPress need wp-cron to work properly, so don&amp;rsquo;t disable it  totally !&lt;/p&gt;&#10;&lt;p&gt;To disable wp-cron, just add the following line in wp-config.php :&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;define(&amp;#39;DISABLE_WP_CRON&amp;#39;, true); &#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then to add a cronjob you have to a :&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-gdscript3" data-lang="gdscript3"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;## Run the crontab with your server or vhost user &lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;crontab&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;u&lt;/span&gt; &lt;span class="n"&gt;yourserveruser&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;## method 1 : using curl to run the script&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;*/&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;curl&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;wp&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;cron&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;null&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;## method 2 : using php to run it&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;*/&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;htdocs&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;php&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;htdocs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;wp&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;cron&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;null&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The first method use PHP-CGI when the second use PHP-CLI, the only difference is CLI does not have time limit to run a script.&#10;Because this way, the wp-cron will not impact page loading speed, it&amp;rsquo;s highly recommended to use linux cron instead of default WordPress cron.&lt;/p&gt;&#10;&lt;p&gt;You can change */10 with */5 to run the cron each 5 minutes instead of each 10 minutes.&lt;/p&gt;&#10;</description></item><item><title>HTTP2 &amp; Web Optimization - How to have a fast website in 2016</title><link>https://anystack.xyz/http2-web-optimization-fast-website-2016/</link><pubDate>Thu, 11 Aug 2016 06:48:00 +0000</pubDate><guid>https://anystack.xyz/http2-web-optimization-fast-website-2016/</guid><description>&lt;img src="https://anystack.xyz/images/2016/10/diagram-asynchronous-resource-loading.png" alt="Featured image of post HTTP2 &amp; Web Optimization - How to have a fast website in 2016" /&gt;&lt;p&gt;Few years ago, the HTTPs protocol was slower than the http, due the the initial handshake of any SSL transaction. But with the HTTP2, there are several improvements available and some rules have change when we talk about web optimization. Most of the PageSpeed tools will recommend you to use domain sharding or to combine your assets to have a website faster. But is it still true ?&lt;/p&gt;&#10;&lt;p&gt;The most important feature of the HTTP2 is the &lt;a href="https://http2.github.io/faq/#why-is-http2-multiplexed"&gt;multiplexing&lt;/a&gt;, it allow to download multiple files with an unique TCP connection when we have to open a new one for each file in HTTP1.1&lt;/p&gt;&#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/http2-multiplexing-1.jpg"&gt;&lt;/p&gt;&#10;&lt;h2&gt;1) No more assets concatenation&lt;/h2&gt;&#10;&lt;p&gt;We used to combine as much as possible our assets with HTTP1.1, that&amp;rsquo;s not true with HTTP2 anymore. Because if it reduce the size of the requests done, it also make the rules for caching harder to define and could have  bad results if you don&amp;rsquo;t need a part of the assets on each page of your website&lt;/p&gt;&#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/http-1-1-file-concatenation.png"&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/http-2-file-concatenation-1.png"&gt;&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;h2&gt;2) No more domain sharding&lt;/h2&gt;&#10;&lt;p&gt;It was already a &amp;ldquo;trick&amp;rdquo; but the domain sharding is not a part of the past. It was used to open more TCP connection than a browser was supposed to. But you will have a negative result by using it with HTTP2 because it will only require unnecessary DNS request and more if the connection is established under TLS.&lt;/p&gt;&#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/domain-sharding-1-2.png"&gt;&lt;/p&gt;&#10;&lt;p&gt;But there are also rules which are still Best Pratices to have a fast website&lt;/p&gt;&#10;&lt;ul&gt;&#10; &lt;li&gt;Reduce DNS lookup -&amp;gt; store all assets on the same domain or with a CDN&lt;/li&gt;&#10; &lt;li&gt;Browser Caching&lt;/li&gt;&#10; &lt;li&gt;Minimize HTTP Requests -&amp;gt; cookies and query strings&lt;/li&gt;&#10; &lt;li&gt;Minimize HTTP Response -&amp;gt; Minify your assets&lt;/li&gt;&#10;&lt;/ul&gt;&#10;</description></item><item><title>How Cloudflare speed up and protect your website - Part 1.</title><link>https://anystack.xyz/cloudflare-speed-protect-website/</link><pubDate>Mon, 01 Aug 2016 18:57:00 +0000</pubDate><guid>https://anystack.xyz/cloudflare-speed-protect-website/</guid><description>&lt;img src="https://anystack.xyz/images/2016/10/network-map.png" alt="Featured image of post How Cloudflare speed up and protect your website - Part 1." /&gt;&lt;p style="text-align: justify;"&gt;&lt;strong&gt;You don't know what is Cloudflare ? &lt;span style="line-height: 1.5;"&gt;So let's see how cloudflare make your website loading faster, and why you should already use it for all your websites.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ol style="text-align: justify;"&gt;&#10; &lt;li&gt;&#10;&lt;h2&gt;&lt;span style="font-size: 18pt;"&gt;&lt;strong&gt;) Cloudflare DNS - Free &amp;amp; Fast&lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p style="text-align: justify;"&gt;Cloudflare provide at first one of the best DNS hosting service available. And to make a website faster you can already start with using a fast DNS hosting.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;strong&gt;DNS Provider Speed Comparison by solvedns.com&lt;/strong&gt;&lt;/p&gt;&#10;![/images/2016/10/draw.jpg)&#10;&lt;p style="text-align: justify;"&gt;It's only few Milliseconds but as you can see, Cloudflare is faster than many other providers and most of them offer paid services only. So before paying few dollars for a Premium DNS package, you should try cloudflare. Another feature you will love, is a propagation time around 5 minutes when you edit a record on your DNS. So if you need to migrate your website soon, this is really a good reason to register now.&lt;/p&gt;&#10;&lt;h2 style="text-align: justify;"&gt;&lt;span style="font-size: 18pt;"&gt;&lt;strong&gt;2. ) Cloudflare - Reverse Proxy with caching &lt;/strong&gt;&lt;/span&gt;&lt;/h2&gt;&#10;&lt;p style="text-align: justify;"&gt;But cloudflare does not provide only DNS Hosting. It's also a complete solution to speed up and secure your website. For that when Cloudflare manage your DNS if you activate the optimization and security (orange cloud), instead of sending your server IP when a visitor make a DNS request, it will act as a proxy and all your visitors will view only the Cloudflare servers IP when they do a request.&lt;/p&gt;&#10;![/images/2016/10/overview.png)&#10;&lt;p style="text-align: justify;"&gt;And Cloudflare will not only act as a simple proxy, it will also cache all the static files and deliver them all around the World to your visitors from the nearest Cloudflare datacenter.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;The result is awesome because it will make your website faster as it will handle less requests, and it will also save a lot of bandwidth by limiting the number of file requests.&lt;/p&gt;&#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/0ea0ab24-290b-4b40-b974-57b2499162cf.png"&gt;&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;As you can see, with 80 000 visitors per month, it's more than 20GB of bandwidth saved and also more than 20GB of static assets which have been delivered faster.&lt;/p&gt;&#10;&lt;h2 style="text-align: justify;"&gt;&lt;strong&gt;&lt;span style="font-size: 18pt;"&gt;3) Cloudflare - Website Protection&lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt;&#10;&lt;p style="text-align: justify;"&gt;By acting as a proxy Cloudflare also provide a complete security solution which include :&lt;/p&gt;&#10;&lt;ul style="text-align: justify;"&gt;&#10; &lt;li style="text-align: justify;"&gt;&lt;strong&gt;Browser integrity check&lt;/strong&gt; : Each visitor request is checked using the HTTP header and if a thread is found it can be challenged using a captcha or blocked.&lt;/li&gt;&#10; &lt;li style="text-align: justify;"&gt;&lt;strong&gt;Visitor reputation&lt;/strong&gt; : Cloudflare analyze daily thousands of IP, and if a visitor try several times to perform any form of hack, it will be marked as a potential thread for Cloudflare&lt;/li&gt;&#10; &lt;li style="text-align: justify;"&gt;&lt;strong&gt;Page rules : &lt;/strong&gt;You can use the page rules to allow or disallow access to a part of your website. For example with wordpress your can use a high level of secuirty onthe page  http://yourdomain.com/wp-login.php to protect your website.&lt;/li&gt;&#10; &lt;li style="text-align: justify;"&gt;&lt;strong&gt;DDoS protection&lt;/strong&gt; : As  your visitors have to use cloudflare servers to get access to your website,  they will never have access to your server IP and any attack attempt will simply be blocked by the Cloudflare servers. &#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/reflection-attack-2.png"&gt;&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;strong&gt;But to protect totally your server, you have to be sure there is not any records which point directly to your server. The most common error will be to have a email server with a MX record pointing  on your server IP.  In this case, Cloudflare will not be able to protect your website because the attacker will send the traffic directly on your server IP, and will not have to use the Cloudflare proxy.&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;span style="font-size: 18pt;"&gt;&lt;strong&gt;4) Cloudflare - Website Optimization&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;And if it wasn't enough, Cloudflare is also able to optimize your website. It can minify all your assets, including the html, reduce the number of connections, and with rocket loader it will make deliver your assets asynchronously. That mean instead of waiting for each file to be downloaded, with cloudflare your browser will download all the assets in the same time when you visit your website, and it will be up to 3x times faster.&lt;/p&gt;&#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/optimization-asynchronous-loading.png"&gt;&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;The last optimization tool available for free is Rocket Loader, currently in beta, it's a script used by cloudflare to deliver your assets, without blocking the page display. It use the asynchronous loading to load your javascript at the end of the page display and this way it will really improve your pagespeed score. But like any beta, it could create error with some javascript or break your website design by loading too late some assets.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;For this reason you have 2 mode to use Rocket loader :&lt;/p&gt;&#10;&lt;ul style="text-align: justify;"&gt;&#10; &lt;li&gt;Automatic : Rocket loader will optimize any javascript available on your website but you have the ability to forbid the optimization manually by adding  data-cfasync="false" before the script source.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&amp;lt;script type=&amp;#34;text/javascript&amp;#34; data-cfasync=&amp;#34;false&amp;#34; src=&amp;#34;/js/tether.min.js&amp;#34;&amp;gt;&amp;lt;/script&amp;gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Manual : This time you will have to add &lt;strong&gt;data-cfasync=&amp;ldquo;true&amp;rdquo;&lt;/strong&gt; for each script you want to optimize with Rocket Loader&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;I will complete this article with the HTTP2 and Cloudflare in the next few days.&lt;/strong&gt;&lt;/p&gt;&#10;</description></item><item><title>[Review] Plesk - A powerful web server control panel</title><link>https://anystack.xyz/plesk-web-server-control-panel/</link><pubDate>Fri, 20 May 2016 15:08:00 +0000</pubDate><guid>https://anystack.xyz/plesk-web-server-control-panel/</guid><description>&lt;img src="https://anystack.xyz/images/2016/10/pleskonyx.png" alt="Featured image of post [Review] Plesk - A powerful web server control panel" /&gt;&lt;p style="text-align: justify;"&gt;Like anyone who want to manage easily multiple websites on a VPS or a dedicated server, i was looking for a control panel with good performance and ready for production.&#10;I have tested many control panels : (following panel are ranked by me and it's only my personal opinion)&lt;/p&gt;&#10;&lt;ol class="decimal" style="text-align: justify;"&gt;&#10;&lt;li&gt;CentOS webpanel (free) : To young to be use in production, but many good features (varnish cache + nginx + Apache) and it will be always free.&lt;/li&gt;&#10; &lt;li&gt;cPanel (paid) : The most powerful after plesk and cheap, but only compatible with Apache&lt;/li&gt;&#10; &lt;li&gt;Serverpilot.io (free and paid) : First cloud control panel, the easiest to run a WordPress website on a VPS. Many awesome features with the paid level (10$ / month) like free ssl, http2, nginx reverse proxy etc.. For me you should try it and it will be one of the best panel in the next years.&lt;/li&gt;&#10; &lt;li&gt;Ajenti (free) : Good panel with many features and a good compromise between interface configuration and text config. But i have no feeling with it.&lt;/li&gt;&#10; &lt;li&gt;Webmin (free) : If the design don't hurt your eyes, it's a complete control panel with many features and with good documentation.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p style="text-align: justify;"&gt;And the last which is not a control panel yet because it have no GUI, easyengine.io, only for Power User at the moment but one of the lightest web server manager, and a good website with many tutorials.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;But today i will make a small review of Plesk, the best control panel for me.&lt;/p&gt;&#10;&lt;h2 style="text-align: justify;"&gt;1) What is Plesk ?&lt;/h2&gt;&#10;&lt;p&gt;&lt;img loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://anystack.xyz/images/2016/10/plesk_user-1.png"&gt;&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;&#10;&lt;/b&gt;Plesk is a full control panel, you can manage multiple website with a clean web interface, it's really secured and always update.&#10;There are 3 pricing plans depending on what you want :&#10;- Web Admin (10 domains) : to run some website on a VPS it's perfect&#10;- Web Pro (30 domains) : including the WordPress toolkit, it's the best ratio quality/price&#10;- Web Host (no limit) : If you want to run your own web hosting services&lt;/p&gt;&#10;&lt;h2 style="text-align: justify;"&gt;2) But why should I choose Plesk as control panel ?&lt;/h2&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;&#10;&lt;/b&gt;Because you can test it for free during 15 days ? No, it's not the only reason.&#10;I recommend to try (to use) Plesk because it's a control panel for any webmaster. There is 3 views available, from the beginner view with simple configuration (domain, database, ftp) to the power user view with full access to advanced features like nginx config, PHP config, firewall etc&#10;You can use Plesk with or without web hosting knowledge, and you will find a documentation for you at Plesk's website.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;As you are waiting for features :&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;For Beginner :&lt;/b&gt;&#10;- Website builder (you haven't to code)&#10;- Many Apps you can install in a single click : Wordpress (with themes, plugins and update management), Prestashop, PhpBB, MyBB, Drupal, Joomla&#10;- Security : SSL in 2 clicks with let's encrypt, backup to ftp or dropbox, webmail&#10;- Softaculous available (59 ready to install apps)&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;For Power User&lt;/b&gt; (yes i know you are waiting for real features and it's for them i love Plesk) :&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;Performance :&#10;- Nginx reverse proxy with caching (disk or memcache)&#10;- Apache 2.4 with HTTP2&#10;- Multiple PHP version from 5.4 to 7.0 and PHP-FPM (so easy to use )&#10;- Many PHP extension : GD, ioncube, opcache,&#10;- Last MariaDB release&#10;- Litespeed web server (i haven't test it yet)&#10;- JXCore and NodeJS (if you want trending techno)&#10;- Java, ruby, python, .Net support&#10;- DNS management&#10;- Docker (only in Plesk Onyx, in beta currently)&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;Security :&#10;- Monitoring, logs, backup with increment&#10;- mod_security, firewall and fail2ban&#10;- SSL&#10;- Google authentication&#10;- Cloudflare integration&#10;- Antispam&#10;- Antivirus&#10;- file scanner&#10;- ddos protection&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;And if you want to (or already have) run your own web hosting company, Plesk is available as VMware or KVM image, with Cloudlinux (Linux distribution for hosting company)&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;I don't think i need to tell you more about Plesk features, but it's for them I use plesk in production. The most important for me is the security, and with fail2ban, a firewall, free ssl management and cloudflare integration,I'm sure to avoid most dangers.&#10;And the feature which decide me to choose Plesk is the Nginx Reverse proxy to handle all static files faster and with less res sources usage.&#10;But I'm maybe trying too much to sell you Plesk, so like it's a user review, I will also talk about the negative aspects of Plesk :&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;- There is a good documentation online, but if you have never use nginx before -&amp;gt; start learning how nginx work now because the Plesk documentation explain how it's work but there is not any how to .. I have lost many hours to understand nginx and how to configure it correctly with Plesk&#10;- There is no free version : if you can try it during 14 days, you have to pay after. And I recommend you to buy it from your hosting company if you can, it will be cheaper than the Plesk Store.&#10;Prices (for VPS) : 5$ for the Web Admin, 15$ for the Web Pro, 25$ for the Web Host&#10;But you can have nice discounts with your hosting company, and sometimes it will be free with a dedicated server. Currently I pay 9$ a month for the Web Pro.&#10;- There are many apps and extensions available but some of them are not free.&#10;- It can be frustrating sometimes (often ^^) to use a full control panel like Plesk, because you are not free to add modules to nginx, to install something not included in Plesk. It's a very powerful tools if you accept to use only included tools. Don't think about adding Pagespeed modules, or to setup a custom version of Apache. With the version 17, you can customize your PHP modules but not more.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;There are good and bad aspects with Plesk, like any control panel but I recommend it to any beginner who want to start using a VPS and to manage himself. And I recommend it too, to Power Users because if you can't customize all components, you will have a stable and powerful web server with features normally reserved to "trending control panels in beta".&#10;So now it's time to add a referral link and to earn some money&#10;But i'm not a Plesk Partner yet ...&lt;/p&gt;&#10;&lt;h2 style="text-align: justify;"&gt;&lt;span style="font-size: medium;"&gt;Quick summary of my review :&lt;/span&gt;&lt;/h2&gt;&#10;&lt;p style="text-align: justify;"&gt;Control panel to try :&#10;Serverpilot.io ( everybody should try it )&#10;Plesk ( Read again from the beginning if you don't know why ..)&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;FAQ :&lt;/b&gt;&#10;&lt;b&gt;&#10;Can I use Plesk if i'm a beginner ?&lt;/b&gt;&#10;Yes but you need to buy a VPS or a dedicated.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;Can I try it for free ?&#10;&lt;/b&gt;yes you only have to register with a valid email.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;How can i install it ?&#10;&lt;/b&gt;First Go to Plesk Website to read server requirement.&#10;On any recent linux OS :&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;## Plesk 12.5 auto-installer&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sh &amp;lt;(curl http://autoinstall.plesk.com/one-click-installer || wget -O - http://autoinstall.plesk.com/one-click-installer)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;## Plesk Onyx auto-installer&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sh &amp;lt;(curl http://autoinstall.plesk.com/one-click-installer || wget -O - http://autoinstall.plesk.com/one-click-installer) --tier testing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;## Run Plesk 12.5 with Docker&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker run --privileged -d -it -p 80:80 -p 443:443 -p 8880:8880 -p 8443:8443 -p 8447:8447 plesk/plesk&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;## Run Plesk Onyx with Docker&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker run -d -it -p 80:80 -p 443:443 -p 8880:8880 -p 8443:8443 -p 8447:8447 plesk/plesk:preview&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;b&gt;What OS should I choose for Plesk ? &lt;/b&gt;&#10;Debian 8 64Bits&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;Can I install Plesk on a small VPS ?&lt;/b&gt;&#10;Yes, for testing i run it on a 3$ VPS with only 2GB RAM. But for production 4GB is a minimum if you use the mail server or the DNS server.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;I need some help with Plesk !&lt;/b&gt;&#10;Read the doc, browse Plesk knowledge base, and PM me if you don't find what you need.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;Plesk is too expensive for me !&#10;&lt;/b&gt;Buy it from your web hosting company to get nice discounts. With OVH -&amp;gt; Web Admin Plan cost 2$ a month on VPS&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;Are you working for Plesk ?&#10;&lt;/b&gt;No, i have only lost too much time to setup web servers and to try many control panels before trying Plesk.&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;&lt;b&gt;I use another Panel currently, can i migrate to Plesk ?&#10;&lt;/b&gt;Yes, it's a paid solution, they always have many tools to help you to buy a license ^^&lt;/p&gt;&#10;&lt;p style="text-align: justify;"&gt;Feel free to ask anything about Plesk here. I'm also open to all suggestions or opinions.&lt;/p&gt;&#10;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: medium;"&gt;&lt;b&gt;&lt;span style="color: #ff0000;"&gt;This review is my personal opinion about control panels. &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&#10;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: medium;"&gt;&lt;b&gt;&lt;span style="color: #ff0000;"&gt;Plesk is maybe not the best control panel for you, and there are many alternative to Plesk.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&#10;</description></item></channel></rss>