fbpx

Optimize website images automatically


by Danila Vershinin, February 27, 2016

Automatically optimize website images with a simple bash script.

Read More...

Varnish Command-Line Utilities. Tips and Tricks


by Danila Vershinin,

SSH commands for Varnish 4: log incoming requests to website, backend and many more

Read More...

Magento 2 Performance Checklist


by Danila Vershinin,

Basic requirements to have excellent Magento 2 performance: PHP 7, Varnish and Percona MySQL

Read More...

Magento 1.x cron jobs setup


by Danila Vershinin,

Magento cron jobs Make sure to setup Magento cron jobs properly: */2 * * * * /bin/sh /var/www/html/cron.sh cron.php -m=default */2 * * * * /bin/sh /var/www/html/cron.sh cron.php -m=always Add the lines above to the crontab of the user that is running your Magento site. It is important to run Magento cron jobs via cron.sh […]

Read More...

Remove query parameters in Nginx


by Danila Vershinin,

Sometimes you want to make Nginx ignore a parameter passed in page request. Here is a short snippet to do that: if ($query_string ~ “^(.*)gclid=(.*)$”) { rewrite ^(.*)$ $uri? permanent; } This comes useful in case you run a Magento store with some SEO plugins that redirect to base URL of every page, but want […]

Read More...

Solved: Varnish 4 “Internal Server Error 500”


by Danila Vershinin,

Why Varnish returns “Internal Server Error 500” Once you done writing your VCL for Varnish 4, you may not be aware that it silently fails with 500 Internal Server Error for some requests. Most likely, the reason is client workspace overflow. When you run varnishlog and watch for requests, you will see: “LostHeader” and “workspace_client […]

Read More...

Generate CSR for SSL certificates FAST


by Danila Vershinin, January 13, 2016

This handy Bash script will help you to quickly create Certificate Signing Requests for your SSL certificates

Read More...

Varnish static files stream


by Danila Vershinin, November 19, 2015

Caching large static files in Varnish is not efficient for storage. Let’s use streaming in Varnish 4!

Read More...

How to configure swap file on CentOS, Ubuntu and other Linux OS


by Danila Vershinin, October 17, 2015

When physical RAM is not enough for the system to handle its routines, Swap comes to the rescue. Let’s find out how to configure swap file on a CentOS VPS.

Read More...

Varnish: do we have to cache static files?


by Danila Vershinin, October 14, 2015

Varnish is a great caching solution to speed up any website
But does it need to cache static files which are already fast to deliver?

Read More...