fbpx

Import website files from old server with Rsync and SSH


by Danila Vershinin, February 28, 2016

Import website files from old server to new server using SSH protocol with Rsync

Read More...

Magento 1.x backup script


by Danila Vershinin,

Simple bash script to make backups of Magento 1 store

Read More...

GlusterFS Load Balancing


by Danila Vershinin,

Website files synchronization in load balancing setup, using GlusterFS

Read More...

Optimize images of your website manually


by Danila Vershinin, February 27, 2016

Optimize website images with a bunch of tools: Jpegoptim, Optipng and PngQuant

Read More...

Optimize website images automatically


by Danila Vershinin,

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...