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 ...
Which of the following is NOT a valid <meta type="robots" content="<values>" /> value. nocache What is the difference between padding and margin? margin auto-collapses, padding doesn't What is the minimal way to define the character set with meta tag? <meta charset="UTF-8"> Which HTML5 tag would most semantically group a page title (in an H1 tag) and tagline (in an H2 tag)? <hgroup> What is the tag used to define attribute values for one or more columns in a table? <col> Which script is useful in rendering dynamic images in canvas? <javascript> What does the following code do: <input type="text" name="user_name" autofocus="autofocus" />? The browser will automatically give the user_name field focus when the page loads. The following link is placed on an HTML webpage. <a href="http://msdn.com/" target="_blank"></a> W...
Comments
Post a Comment