Composer update

You know how composer install/update is kind of slow? I just found out about –prefer-dist option. What it does is downloads a package as a zip instead of file by file. And if you by any chance don’t need autoloader throw in –no-autoloader at the end and speed it up some more.

Happy coding :)

Magento maintenance mode on steroids

So you have a live site and you need to do some work on it. The first thing you do is enable maintenance mode. But something bad happens when you do that. The whole site is down for everyone, including you. But how are you going to fix the site if you can not even see it? Well, I use something like this.

Read more