varnish

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

Confoo: HTTP Caching with Varnish

Conference: Confoo Vancouver 2016, Canada
Title: HTTP Caching with Varnish
Links: Slides

With the Varnish caching proxy, you can greatly increase the speed of websites and handle a lot more load. The basics are quite simple once you understand how the cache handling in HTTP works, so we will look into that first. Then I will go into advanced topics like cache tagging and cache invalidation or using Edge Side Includes.

IPC Munich: HTTP Caching mit Varnish

Conference: International PHP Conference 2016, Munich, Germany
Title: HTTP Caching mit Varnish
Links: Slides (German)

Mit dem Varnish Cache Proxy werden Webseiten richtig schnell. Der Einsatz von Varnish ist simpel, wenn man die Cacheregeln von HTTP verstanden hat. Zum Einstieg schauen wir uns deshalb HTTP und die Varnish-Konfiguration an. Der Hauptgang ist das Integrieren des FOSHttpCacheBundle in ein Symfony-2-Projekt. Wir schauen uns Caching-Regeln, Cache-Tagging, Integrationstests und andere leckere Funktionen an. Zur Nachspeise gibt es eine Einführung in Edge Side Includes (ESI).

Confoo Montreal: HTTP Caching with Varnish

Conference: Confoo Montreal 2016, Canada
Title: HTTP Caching with Varnish
Links: Slides

With the Varnish caching proxy you can greatly increase the speed of websites and handle a lot more load. The basics are quite simple once you understand how the cache handling in HTTP works, so we will look into that first. Then I will go into advanced topics like cache tagging and cache invalidation or using edge side includes.

Going crazy with caching: Caching pages of logged in users

Conference: Bulgaria PHP Conference 2015, Sofia, Bulgaria
Title: Going crazy with caching: Caching pages of logged in users
Links: Slides, joind.in

You know how HTTP caching works but need more? In this talk we look into ways to cache personalized content. We will look at Edge Side Includes (ESI) to tailor caching rules of fragments, and at the user context concept to differentiate caches not by individual user but by permission groups. A big help to leverage this concept is the FOSHttpCache in combination with either Varnish or the Symfony HttpCache class.

Hands-on: HTTP caching with Varnish

Conference: Bulgaria PHP Conference 2015, Sofia, Bulgaria
Title: Hands-on: HTTP caching with Varnish
Links: Slides, 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.

PHP Summercamp Rovinj: HTTP Caching with Varnish - Workshop

Conference: PHP Summer Camp 2015, Rovinj, Croatia
Title: HTTP caching with Varnish

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.

DPC Amsterdam: CMF and Varnish

I was in Amsterdam at DPC and did two workshops, one on the Symfony CMF and another on Http caching with Varnish. I also did a regular talk to introduce to Http caching. The Varnish workshop and talk I did together with David de Boer, who is co-authoring the FOSHttpCache and -Bundle with me.
Additionally, before the conference I went to Leeuwarden to present the CMF at a meetup of the PHP Friesland user group.

Conference: Dutch PHP Conference, 2015, Amsterdam, Netherlands

Workshop: CMF
Title: Symfony2 Content Management

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.

The Apache SSL configuration looks like this:

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

    ProxyPreserveHost On
    ProxyPass / http://127.0.0.1:80/

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,

Syndicate content