Skip to content

warn about validation vs invalidation and cleanup feature list #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ Introduction

This bundle offers tools to improve HTTP caching with Symfony2. It provides
global configuration options to set caching headers based on the path,
controller and other aspects of the request. It provides services for the
FOSHttpCache library tools to actively invalidate caching proxies and some
additional tools that can help when working with a caching proxy.
controller and other aspects of the request. In addition, it provides services
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added "In addition" to make it clear that this is something different.

for the FOSHttpCache library tools to actively invalidate caching proxies and
some additional tools that can help when working with a caching proxy.

Features
--------

* Set path-based cache expiration headers via your app configuration.
* Set up an invalidation scheme without writing PHP code.
* Send invalidation requests with minimal impact on performance.
* Set path-based cache expiration headers via your app configuration;
* Set up an invalidation scheme without writing PHP code;
* Tag your responses and invalidate cache based on tags;
* Send invalidation requests with minimal impact on performance;
* Differentiate caches based on user *type* (e.g. roles);
* Easily implement your own HTTP cache client.

Documentation
Expand Down
8 changes: 8 additions & 0 deletions Resources/doc/features/invalidation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ fetch a fresh copy from the backend application and serve that instead. By
So for the following examples to work you must first
:ref:`configure your proxy <foshttpcache:proxy-configuration>`.

.. tip::

Invalidation can result in better performance compared to the validation
caching model, but is more complex. Read the
:ref:`Introduction to Cache Invalidation <foshttpcache:invalidation introduction>`
of the FOSHttpCache documentation to learn about the differences and decide
which model is right for you.

Cache Manager
-------------

Expand Down
11 changes: 6 additions & 5 deletions Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ FOSHttpCacheBundle
This is the documentation for the `FOSHttpCacheBundle <https://github.com/FriendsOfSymfony/FOSHttpCacheBundle>`_.
Use the FOSHttpCacheBundle to:

* set HTTP caching headers in your application configuration based on request
properties such as path and controller;
* tag your response caches with annotations;
* invalidate cached paths, routes and tags with the FOSHttpCache_ library;
* differentiate cached content per user type.
* Set path-based cache expiration headers via your app configuration;
* Set up an invalidation scheme without writing PHP code;
* Tag your responses and invalidate cache based on tags;
* Send invalidation requests with minimal impact on performance with the FOSHttpCache_ library;
* Differentiate caches based on user *type* (e.g. roles);
* Easily implement your own HTTP cache client.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

synced the feature list between readme and documentation start page.


Contents
--------
Expand Down