Standing Cloud Knowledge Base

Varnish

Last Updated: Feb 05, 2013 04:35PM MST
Varnish
Varnish is an HTTP accelerator designed to dramatically assist in the delivery of content to dynamic web sites.  Residing on the front side of the server, it can speed up the delivery of your content by 300 to 1000 times.


Built from the ground up and focusing exclusively on HTTP this accelerator can make a huge difference in the performance of your site.

Read more about Varnish on their official site:
Varnish Cache
- and - 
Wikipedia



By default, Varnish, APC, and memcached are installed on all new servers and configured and enabled for all Content Management System applications (i.e. Wordpress, Drupal, etc.) deployments.

Varnish is NOT enabled by default.  To enable Varnish for Drupal, follow these steps:
  1. Log in to your Drupal deployment with an admin account
  2. Click on Configuration .. then Varnish.    
  3. At the bottom of the screen you'll see a message that states: 
  4.  Using the terminal feature in the admin console... run the following command:  

    sudo /usr/local/bin/alternateVarnish
    

  5. Return to the Drupal (Configuration --> Varnish) screen and verify that Varnish is running by viewing the bottom of the page:
After following those steps Varnish will be up and running on your Drupal site.


To enable Varnish for Wordpress, simply turn it on from the command line (Web terminal or SSH) using the command:

sudo /usr/local/bin/alternateVarnish
NOTE:  To find out if Varnish is currently running, follow these steps:
  • Launch the web terminal or connect to your server via SSH and the system username/password
  • From the command line, type:
    pgrep -f varn
    
If a number (or multiple process ID numbers) is returned, Varnish is running.  If nothing is returned, Varnish is turned off.



Check out this short video that the cool people at Varnish have put together to help explain it.


If you have any questions, feel free to contact us at support@standingcloud.com
comments powered by Disqus

Cloud application marketplace and management platform



    Email Us

support@standingcloud.com
http://assets1.desk.com/
false
sc_tech_support
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete