mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix formatting error introduced in cc585c8
.
This commit is contained in:
parent
0004ca3a97
commit
728f9c2eed
1 changed files with 2 additions and 1 deletions
|
@ -127,9 +127,10 @@ You can also combine the two schemes which is called "Russian Doll Caching":
|
|||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
It's called "Russian Doll Caching" because it nests multiple fragments. The advantage is that if a single product is updated, all the other inner fragments can be reused when regenerating the outer fragment.
|
||||
```
|
||||
|
||||
It's called "Russian Doll Caching" because it nests multiple fragments. The advantage is that if a single product is updated, all the other inner fragments can be reused when regenerating the outer fragment.
|
||||
|
||||
### SQL Caching
|
||||
|
||||
Query caching is a Rails feature that caches the result set returned by each query so that if Rails encounters the same query again for that request, it will use the cached result set as opposed to running the query against the database again.
|
||||
|
|
Loading…
Reference in a new issue