2017 © Pedro Peláez
 

library http-caching-bundle

Utilities for easier HTTP caching in Symfony

image

zicht/http-caching-bundle

Utilities for easier HTTP caching in Symfony

  • Wednesday, February 22, 2017
  • by zicht-jenkins
  • Repository
  • 0 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 1150 % Grown

The README.md

zicht/http-caching-bundle

This bundle serves as a general optimization for caching content statically in a reverse proxy. It simply covers some basic rules for serving content with correct HTTP caching headers., (*1)

Installation

Just like any regular bundle, install it with composer, and add it to your AppKernel., (*2)

Configuration

Add to your bundle configuration:, (*3)

zicht_http_caching:
    urls:
        -
            pattern: # a regex 
            private: # a number identifying number of seconds for "private" responses
            public: # a number of seconds for "public" responses

This configuration means that for any url matching the regex, a cache header is added to the response indicating that the response may be cached for the specified amount of seconds., (*4)

The difference between "private" and "public" responses, is that any response that is sent without a Set-Cookie, in response to a request that had no Authorization or Cookie headers, is considered "public"., (*5)

Maintainers

The Versions

22/02 2017

dev-master

9999999-dev

Utilities for easier HTTP caching in Symfony

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Gerard van Helden

10/05 2016

1.2.0-beta.1

1.2.0.0-beta1

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

13/01 2016

1.1.0

1.1.0.0

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

30/12 2015

1.1.0-rc.2

1.1.0.0-RC2

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

30/12 2015

1.1.0-rc.1

1.1.0.0-RC1

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

21/10 2015

1.0.3

1.0.3.0

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

19/10 2015

1.0.2

1.0.2.0

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

19/10 2015

1.0.1

1.0.1.0

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

19/10 2015

1.0.1-rc.3

1.0.1.0-RC3

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

19/10 2015

1.0.1-rc.2

1.0.1.0-RC2

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

19/10 2015

1.0.1-rc.1

1.0.1.0-RC1

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

19/10 2015

1.0.0

1.0.0.0

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden

01/05 2015

0.9.0

0.9.0.0

Utilities for easier HTTP caching in Symfony

  Sources   Download

The Requires

  • php >=5.3

 

by Gerard van Helden