1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src/applications
epriestley 52a29be70d Introduce a request cache mechanism
Summary:
Ref T8424. This adds a standard KeyValueCache to serve as a request cache.

In particular, I need to cache Spaces (they are frequently accessed, sometimes by multiple viewers) but not have them survive longer than the scope of one request.

This request cache is explicitly destroyed by each web request and each daemon request.

In the very long term, building this kind of construct supports reusing PHP interpreters to run web requests (see some discussion in T2312).

Test Plan:
  - Added and executed unit tests.
  - Ran every daemon.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8424

Differential Revision: https://secure.phabricator.com/D13153
2015-06-04 17:27:31 -07:00
..
almanac Fix an issue with AlamancDeviceEditor 2015-06-03 18:41:21 -07:00
aphlict Linter fixes 2015-06-02 22:14:01 +10:00
arcanist/conduit Mark "arcanist.projectinfo" as deprecated 2015-05-25 22:52:41 +10:00
audit Fix slop with previous patch, perhaps 2015-06-03 20:11:33 -07:00
auth Add "Mailing List" users 2015-06-03 18:42:33 -07:00
base Send mail to targets in the user's translation 2015-06-03 18:59:33 -07:00
cache Introduce a request cache mechanism 2015-06-04 17:27:31 -07:00
calendar Attempt to optimize ghost generating code. 2015-06-03 13:01:26 -07:00
celerity Digest resource cachekeys to maximum length 2015-06-01 09:04:22 -07:00
chatlog phtize all the things 2015-05-22 21:16:39 +10:00
conduit Add "Mailing List" users 2015-06-03 18:42:33 -07:00
config Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
conpherence Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
console Make everything 1000x or 1000000x slower 2015-05-23 05:36:02 -07:00
countdown phtize all the things 2015-05-22 21:16:39 +10:00
daemon Linter fixes 2015-06-02 22:14:01 +10:00
dashboard phtize all the things 2015-05-22 21:16:39 +10:00
differential Reload revisions before publishing mail about them 2015-06-03 20:01:23 -07:00
diffusion Add "Mailing List" users 2015-06-03 18:42:33 -07:00
diviner Integrate Diviner with global search 2015-06-05 07:27:48 +10:00
doorkeeper phtize all the things 2015-05-22 21:16:39 +10:00
draft/storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
drydock Linter fixes 2015-06-02 22:14:01 +10:00
fact Introduce a request cache mechanism 2015-06-04 17:27:31 -07:00
feed phtize all the things 2015-05-22 21:16:39 +10:00
files phtize all the things 2015-05-22 21:16:39 +10:00
flag phtize all the things 2015-05-22 21:16:39 +10:00
fund phtize all the things 2015-05-22 21:16:39 +10:00
harbormaster Linter fixes 2015-06-02 22:14:01 +10:00
help Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
herald Linter fixes 2015-06-02 22:14:01 +10:00
home phtize all the things 2015-05-22 21:16:39 +10:00
legalpad phtize all the things 2015-05-22 21:16:39 +10:00
lipsum phtize all the things 2015-05-22 21:16:39 +10:00
macro phtize all the things 2015-05-22 21:16:39 +10:00
mailinglists/storage Put PhabricatorMetaMTAMailingList back to keep bin/storage adjust happy for now 2015-06-03 18:51:40 -07:00
maniphest Let Maniphest send mail again. 2015-06-04 09:49:10 -07:00
meta phtize all the things 2015-05-22 21:16:39 +10:00
metamta Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
multimeter Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
notification Linter fixes 2015-06-02 22:14:01 +10:00
nuance phtize all the things 2015-05-22 21:16:39 +10:00
oauthserver Linter fixes 2015-06-02 22:14:01 +10:00
owners Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
passphrase phtize all the things 2015-05-22 21:16:39 +10:00
paste Move all ApplicationTransaction publishing to daemons 2015-06-03 18:59:29 -07:00
people Make CSRF salt per-user instead of per-request 2015-06-04 17:26:23 -07:00
phame Make PhameBlog implement PhabricatorApplicationTransactionInterface 2015-06-03 18:59:42 -07:00
phid Remove mailing lists application 2015-06-03 18:42:36 -07:00
phlux Transactions - make implementing TYPE_XXXX_POLICY transactions optional 2015-05-19 12:58:18 -07:00
pholio phtize all the things 2015-05-22 21:16:39 +10:00
phortune Move all ApplicationTransaction publishing to daemons 2015-06-03 18:59:29 -07:00
phpast phtize all the things 2015-05-22 21:16:39 +10:00
phragment phtize all the things 2015-05-22 21:16:39 +10:00
phrequent phtize all the things 2015-05-22 21:16:39 +10:00
phriction Move all ApplicationTransaction publishing to daemons 2015-06-03 18:59:29 -07:00
policy Add support for "Extended Policies" 2015-06-03 18:59:27 -07:00
ponder phtize all the things 2015-05-22 21:16:39 +10:00
project Move all ApplicationTransaction publishing to daemons 2015-06-03 18:59:29 -07:00
releeph Linter fixes 2015-06-02 22:14:01 +10:00
remarkup/conduit phtize all the things 2015-05-22 21:16:39 +10:00
repository Introduce a request cache mechanism 2015-06-04 17:27:31 -07:00
search Integrate Diviner with global search 2015-06-05 07:27:48 +10:00
settings Allow administrators to configure "Email Settings" settings for lists 2015-06-03 18:42:41 -07:00
slowvote phtize all the things 2015-05-22 21:16:39 +10:00
spaces Fix some minor Spaces method visibility issues 2015-06-03 18:42:38 -07:00
subscriptions phtize all the things 2015-05-22 21:16:39 +10:00
support/application Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
system Remove flags and tokens upon object destruction 2015-06-04 07:23:48 +10:00
tokens phtize all the things 2015-05-22 21:16:39 +10:00
transactions Fix an issue with mentions in transactions 2015-06-04 06:05:24 -07:00
typeahead phtize all the things 2015-05-22 21:16:39 +10:00
uiexample phtize all the things 2015-05-22 21:16:39 +10:00
xhprof phtize all the things 2015-05-22 21:16:39 +10:00