Skip to content

Commit d15e801

Browse files
Alexeigan
authored andcommitted
Update cache explanations
1 parent fb6921e commit d15e801

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

orm/config-file.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,9 @@ Cache will be used to cache metadata, results and queries.
376376
| **cache.second_level** | The Second Level Cache is designed to reduce the amount of necessary database access. It sits between your application and the database to avoid the number of database hits as much as possible.
377377
When turned on, entities will be first searched in cache and if they are not found, a database query will be fired an then the entity result will be stored in a cache provider.
378378
When used, READ_ONLY is mostly used. ReadOnly cache can do reads, inserts and deletes, cannot perform updates|
379+
| **cache.metadata** | Your class metadata can be parsed from a few different sources like YAML, XML, Annotations, etc. Instead of parsing this information on each request we should cache it using one of the cache drivers. |
380+
| **cache.query** | Cache transformation of a DQL query to its SQL counterpart. |
381+
| **cache.result** | The result cache can be used to cache the results of your queries so you don't have to query the database or hydrate the data again after the first time. |
379382

380383
### Gedmo
381384

0 commit comments

Comments
 (0)