File tree Expand file tree Collapse file tree 3 files changed +22
-11
lines changed Expand file tree Collapse file tree 3 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,18 @@ Introduction
9
9
10
10
This bundle offers tools to improve HTTP caching with Symfony2. It provides
11
11
global configuration options to set caching headers based on the path,
12
- controller and other aspects of the request. It provides services for the
13
- FOSHttpCache library tools to actively invalidate caching proxies and some
14
- additional tools that can help when working with a caching proxy.
12
+ controller and other aspects of the request. In addition, it provides services
13
+ for the FOSHttpCache library tools to actively invalidate caching proxies and
14
+ some additional tools that can help when working with a caching proxy.
15
15
16
16
Features
17
17
--------
18
18
19
- * Set path-based cache expiration headers via your app configuration.
20
- * Set up an invalidation scheme without writing PHP code.
21
- * Send invalidation requests with minimal impact on performance.
19
+ * Set path-based cache expiration headers via your app configuration;
20
+ * Set up an invalidation scheme without writing PHP code;
21
+ * Tag your responses and invalidate cache based on tags;
22
+ * Send invalidation requests with minimal impact on performance;
23
+ * Differentiate caches based on user * type* (e.g. roles);
22
24
* Easily implement your own HTTP cache client.
23
25
24
26
Documentation
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ fetch a fresh copy from the backend application and serve that instead. By
14
14
So for the following examples to work you must first
15
15
:ref: `configure your proxy <foshttpcache:proxy-configuration >`.
16
16
17
+ .. tip ::
18
+
19
+ Invalidation can result in better performance compared to the validation
20
+ caching model, but is more complex. Read the
21
+ :ref: `Introduction to Cache Invalidation <foshttpcache:invalidation introduction >`
22
+ of the FOSHttpCache documentation to learn about the differences and decide
23
+ which model is right for you.
24
+
17
25
Cache Manager
18
26
-------------
19
27
Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ FOSHttpCacheBundle
4
4
This is the documentation for the `FOSHttpCacheBundle <https://github.com/FriendsOfSymfony/FOSHttpCacheBundle >`_.
5
5
Use the FOSHttpCacheBundle to:
6
6
7
- * set HTTP caching headers in your application configuration based on request
8
- properties such as path and controller;
9
- * tag your response caches with annotations;
10
- * invalidate cached paths, routes and tags with the FOSHttpCache _ library;
11
- * differentiate cached content per user type.
7
+ * Set path-based cache expiration headers via your app configuration;
8
+ * Set up an invalidation scheme without writing PHP code;
9
+ * Tag your responses and invalidate cache based on tags;
10
+ * Send invalidation requests with minimal impact on performance with the FOSHttpCache _ library;
11
+ * Differentiate caches based on user *type * (e.g. roles);
12
+ * Easily implement your own HTTP cache client.
12
13
13
14
Contents
14
15
--------
You can’t perform that action at this time.
0 commit comments