Displaying 1 to 20 from 38 results

laravel-responsecache - Speed up a Laravel app by caching the entire response

  •    PHP

This Laravel 5.5 package can cache an entire response. By default it will cache all successful get-requests for a week. This could potentially speed up the response quite considerably. So the first time a request comes in the package will save the response before sending it to the users. When the same request comes in again we're not going through the entire application but just respond with the saved response.

libvmod-redis - VMOD using the synchronous hiredis library API to access Redis servers from VCL.

  •    C

VMOD using the synchronous hiredis library API to access Redis servers from VCL.Please, check out the project wiki for some extra information and useful links.

varnish-examples - Examples of Varnish configuration files for Clever Cloud

  •    Perl

To use one of this files, you need to copy the content of the file you want to use, and put it in a varnish.vcl file. If you have a Varnish file for a CMS who's not present in the repository, or if you have an improvement for an existing one, just fork the repository and add/edit the content you want. Commit it, and create a pull request.

FOSHttpCache - Integrate your PHP application with your HTTP caching proxy

  •    PHP

This library integrates your PHP applications with HTTP caching proxies such as Varnish. Use this library to send invalidation requests from your application to the caching proxy and to test your caching and invalidation code against a Varnish setup. It does this by abstracting some caching concepts and attempting to make sure these can be supported across Varnish, Nginx and Symfony HttpCache.

vag - Varnish Administration GUI (Open Source VAC Alternative)

  •    Python

Verify workdir on /etc/init.d/vag, if necessary change to the correct.

ansible-role-varnish - Ansible Role - Varnish HTTP accelerator


Installs the Varnish HTTP Cache on RedHat/CentOS or Debian/Ubuntu Linux. Requires the EPEL repository on RedHat/CentOS (you can install it using the geerlingguy.repo-epel role).

Falcon - Enables Xkey / Hash-Two / Surrogate Key caching with Craft 2.x. Very experimental.

  •    PHP

I advise you take a look at Upper for Craft 3 by the wonderful Oliver Stark. Make Craft fly. Well, stick a reverse proxy in front of it then auto-magically invalidate the right caches.

cacheable-site-silex - Develop cacheable sites by levering HTTP

  •    HTML

This piece of example code uses the Silex framework to illustrate how you can leverage HTTP to develop cacheable sites. The output that this example code generates is highly cacheable. We don't keep track of state using cookies and the proper Cache-Control headers are used to store the output in an HTTP cache.

varnishtraining - Second iteration of my Varnish training


This repository contains the example code for the 6-hour Varnish training I created. This is the second iteration of the training course and was first presented at Symfony Live Berlin 2017.

prometheus_varnish_exporter - Varnish exporter for Prometheus

  •    Go

Scrapes the varnishstat -j JSON output on each Prometheus collect and exposes all reported metrics. Metrics with multiple backends or varnish defined identifiers (e.g. VBE.*.happy SMA.*.c_bytes LCK.*.creat) and other metrics with similar structure (e.g. MAIN.fetch_*) are combined under a single metric name with distinguishable labels. Vanish naming conventions are preserved as much as possible to be familiar to Varnish users when building queries, while at the same time trying to following Prometheus conventions like lower casing and using _ separators. Handles runtime Varnish changes like adding new backends via vlc reload. Removed backends are reported by varnishstat until Varnish is restarted.

cashpack - A stateless event-driven HPACK codec

  •    C

cashpack is a stateless event-driven HPACK codec aimed at embedded systems, or more specifically memory-constrained systems. It is meant to work with HTTP/2 or similar protocols in the sense that some assumptions made by the library would not work in all situations. For example, HTTP/2 doesn't allow upper-case characters in header names, neither does cashpack.

libvmod-querystring - Query-string module for Varnish Cache

  •    M4

The purpose of this module is to give you a fine-grained control over a URL's query-string in Varnish Cache. It's possible to remove the query-string, clean it, sort its parameters or filter it to only keep a subset of them. This can greatly improve your hit ratio and efficiency with Varnish, because by default two URLs with the same path but different query-strings are also different. This is what the RFCs mandate but probably not what you usually want for your web site or application.

docker-varnish - Docker image for Varnish Cache (caching HTTP reverse proxy)

  •    Shell

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as APIs. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP, unlike other proxy servers that often support FTP, SMTP and other network protocols. Then you can hit http://localhost:8080 or http://host-ip:8080 in your browser.

EcomDev_Varnish - Advanced Varnish implementation for Magento

  •    PHP

The varnish VCL can be generated using the shell script. More information on usage of the extension can be found in the docs folder.

laravel-varnish - Making Varnish and Laravel play nice together

  •    PHP

This package provides an easy way to work with Varnish 4 (or 5) in Laravel. It provides a route middleware that, when applied to a route, will make sure Varnish will cache the response no matter what. The package also contains a function to flush the Varnish cache from within the application. We assume that you've already installed Varnish on your server. If not read this blogpost to learn how to install it.

docker-lamp - Debian 9, Apache 2

  •    VCL

This docker setup works with Debian 9, Varnish 5.2/5.1/5.0/4.0, Apache 2.4, PHP 7.2/7.1/7.0/5.6, MySQL 8.0/5.7/5.6/5.5/ and Redis 4.0/3.2/3.0. This setup have Mailhog and phpMyAdmin as helper tools. This is keopx Docker Drupal optimized images for apache-php with varnish and MySQL.

varnish-5.0-configuration-templates - A sane default configuration for Varnish 5.x

  •    Perl

You can use the configuration templates found in this repository to quickly get started with a complete Varnish configuration that offers support for most functionality. Start of by looking into "default.vcl" and taking the bits you need, copy it to your own default.vcl.