varnish

warning: Creating default object from empty value in /var/drupal/modules/taxonomy/taxonomy.pages.inc on line 33.

Symfony Live Paris:

Conference: Symfony Live Paris, 2015, Paris, France
Title: Repousser les limites : HTTP cache et utilisateurs connectés
Links: Slides, joind.in

Varnish and HTTPS with Apache

Today I wanted to run a website with HTTPS and Varnish. Varnish itself does not support SSL, and for good reasons. So the setup we need is HTTPS termination => Varnish => Webserver. So we need a software that can handle HTTPS and forward requests over HTTP to Varnish. A couple of options for HTTPS termination are HAProxy, Nginx, Squid or Apache. I went with Apache, as it was already installed on the server in question, thus reducing the complexity of the setup.

On Apache, you need to enable mod_proxy. The Apache SSL configuration looks like this:

#/etc/apache2/sites-available/example.com-ssl
<VirtualHost *:443>
    ServerName www.example.com

    ProxyPreserveHost On

Tutorial: HTTP caching with Varnish

Conference: PHP Benelux Conference 2015, Antwerp, Belgium
Title: HTTP Caching with Varnish
Links: joind.in

For some scenarios, Varnish is the silver bullet to fix performance issues and go from slow site to lightning fast site. More often though, you will need to put some effort into your application to get good results. Ideally, you design your application to play well with caching from the outset. If you don’t know what you are doing, Varnish can also be the bullet to shoot yourself in the foot. Varnish is a server component that runs independent from your web server, making it useful whether your application is written in PHP,

Madison PHP Conference: HTTP Caching with Varnish

Conference: Madison PHP Conference, Madison, WI
Title: HTTP Caching with Varnish
Links: Slides, joind.in

With the Varnish caching proxy, you can make slow websites blazingly fast. The basics are quite simple once you understand how the cache handling in HTTP works. For starters, we will look into HTTP and the Varnish configuration. The main course is going to be cache invalidation and the cache tagging strategy. For dessert, there will be an introduction to edge side includes (ESI) - all liberally sprinkled with examples from the FOSHttpCache library and some ideas from the FOSHttpCacheBundle for Symfony2.

Webmardi Fribourg: HTTP Caching with Varnish

Venue: Webmardi Fribourg, 3.6.2014
Title: HTTP Caching with Varnish
Links: Slides, Techup.ch

With the Varnish caching proxy you can make slow websites blazingly fast. The basics are quite simple once you understand how the cache handling in HTTP works. For starters, we will look into HTTP and the varnish configuration. The main course is going to be cache invalidation and the cache tagging strategy. For desserts, there will be an introduction to edge side includes (ESI). All liberally sprinkled with examples from the FOSHttpCache PHP library and some ideas from the FOSHttpCacheBundle for Symfony2.

Symfony UserGroup ZH: Varnish caching with Symfony2

Venue: Symfony UserGroup Zurich, 14.5.2014
Title: Varnish caching with Symfony2
Links: Slides, Meetup

With the Varnish caching proxy you can make slow websites blazingly fast. The basics are quite simple once you understand how the cache handling in HTTP works. For starters, we will look into HTTP and the varnish configuration. The main course is going to be cache invalidation and the cache tagging strategy. For desserts, there will be an introduction to edge side includes (ESI). All liberally sprinkled with examples from the FOSHttpCacheBundle for Symfony2.

SunshinePHP Miami: Step By Step: Making a Website Fly with Assetic, Varnish and ESI

Conference: SunshinePHP Miami, 8-9.2.2013
Title: Step By Step: Making a Website Fly with Assetic, Varnish and ESI
Links: Slides, joind.in

Starting with a demo web site that is not optimized, I will demonstrate step by step how the user experience can be improved. I will show how to improve javascript and css loading and how to use the caching proxy Varnish with Edge Side Includes (ESI) to cache personalized pages.

Liip presentation: Varnish - A caching reverse proxy

Venue: Liip AG
Title: Varnish - A caching reverse proxy (joint talk with Stefan Paschke)
Links: Slides

Introducing the varnish caching proxy and explaining how to interact with it from Symfony, including efficient authorization handling (paywall).

Syndicate content