mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] docs grammar
This commit is contained in:
parent
a8511f314a
commit
ac0df594d5
1 changed files with 2 additions and 2 deletions
|
@ -1109,8 +1109,8 @@ Will be a completely different cache from
|
|||
http://mycdnsubdomain.fictional-cdn.com/assets/smile.png
|
||||
```
|
||||
|
||||
If you want to set far future `max-age` in your `Cache-Control` (and you do).
|
||||
Then make sure when you change your assets that your cache is invalidated. For
|
||||
If you want to set far future `max-age` in your `Cache-Control` (and you do),
|
||||
then make sure when you change your assets that your cache is invalidated. For
|
||||
example when changing the smiley face in an image from yellow to blue, you want
|
||||
all visitors of your site to get the new blue face. When using a CDN with the
|
||||
Rails asset pipeline `config.assets.digest` is set to true by default so that
|
||||
|
|
Loading…
Reference in a new issue