Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
We should be able to tell Doctrine that we want the result of requests on ReadOnly marked Entities to be cached.
For instance:
$person->getMoodInformation();
$person->getCityInformation();
CityInformation are not likely to change so it would make sense to cache it and retrieve only MoodInformation (by using an annotation on the concerned Entity).
What would be even better is to tag which properies we want to hydrate from database and which properties we want to hydrate from cache.
Activity
Joseph Silvestre
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
We should be able to tell Doctrine that we want the result of requests on ReadOnly marked Entities to be cached. For instance: $person->getMoodInformation(); $person->getCityInformation(); CityInformation are not likely to change so it would make sense to cache it and retrieve only MoodInformation (by using an annotation on the concerned Entity). |
We should be able to tell Doctrine that we want the result of requests on ReadOnly marked Entities to be cached. For instance: $person->getMoodInformation(); $person->getCityInformation(); CityInformation are not likely to change so it would make sense to cache it and retrieve only MoodInformation (by using an annotation on the concerned Entity). What would be even better is to tag which properies we want to hydrate from database and which properties we want to hydrate from cache. |
Benjamin Eberlei
made changes -
| Workflow | jira [ 13088 ] | jira-feedback [ 13975 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 13975 ] | jira-feedback2 [ 15839 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 15839 ] | jira-feedback3 [ 18095 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1423, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)