Tag Archive: Varnish

Feb 13

How to: Create a php file to check on the status of a Drupal Server

How to: Create a php file to check on the status of a Drupal Server I was working on creating a php status file that would indicate if a server was able to handle client requests or not. The idea is that you can have a loadbalancer check periodically those status.php files to see if …

Continue reading »

Dec 21

How to: Measure your NginX Cache Performance using $upstream_cache_status in a custom Cache log

How to: Measure your NginX Cache Performance using $upstream_cache_status in a custom Cache log One of the great features of NginX is it’s ability to cache content from a number of sources including but not limited to a proxy server or a fast cgi server. But in order to understand truly how well your cache …

Continue reading »

Dec 20

How to: Pass NginX the correct client IP address when using Varnish reverse proxy

How to: Pass NginX the correct client IP address when using Varnish reverse proxy Varnish is a great piece of software that you can use to serve static http content without having to hit your web servers. Many of the issues that come with using a reverse proxy like Varnish is that there is another …

Continue reading »

Dec 13

How to: Configure Purging on Varnish reverse proxy (works with W3 Total Cache)

  How to: Configure Purging on Varnish reverse proxy (works with W3 Total Cache) Purging and banningĀ¶ One of the most effective ways of increasing your hit ratio is to increase the time-to-live (ttl) of your objects. But, as you’re aware of, in this twitterific day of age serving content that is outdated is bad …

Continue reading »

Dec 12

How to: Not serve cached pages to logged in users using Varnish

How to: Not serve cached pages to logged in users using Varnish Generally speaking caching is a good thing, it takes a bit load off the web servers and serves the content more quickly to our site visitors. However, there are a few scenarios where caching is not that great: A highly dynamic site for …

Continue reading »