Posts

Showing posts from April, 2017

How to make Magento2 website faster

Image
Introduction Magento websites usually have large visitors. Its mean website should be fast enough to deal with large number of visitors. To make magento website fast we can use varnish cache that is open source web application accelerator. Varnish caches files in memory, this enables Varnish to reduce the response time and network bandwidth consumption on future, equivalent requests. Here is step by step guide to make your magento 2 website more faster than ever by using varnish cache. 1. Install Varnish (Ubuntu) open terminal run "sudo curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add -" Run sudo echo "deb  http://repo.varnish-cache.org/ubuntu/  precise varnish-3.0" | sudo tee -a /etc/apt/sources.list sudo apt-get update sudo apt-get install varnish check that varnish is installed by typing “varnishd -V” 2. Configure apache Note:  apache runs on port 80 so varnish server cannot run on port 80 so we need to change the