diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-23 15:04:51 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-25 12:00:56 +0100 |
commit | a97a290fd5ed06dfc33d2adeed5d3b7531674827 (patch) | |
tree | 8ee4ee5642bb98a95e2e6b9b45638310c47b1ff4 /lib/base.php | |
parent | 3a6d16e6d449257b3800b14dc294808fab979cba (diff) | |
download | nextcloud-server-a97a290fd5ed06dfc33d2adeed5d3b7531674827.tar.gz nextcloud-server-a97a290fd5ed06dfc33d2adeed5d3b7531674827.zip |
Cache fetched apps in update check
The code tried to find the apps with updates and thus was called for every available app. This caused to get the full appstore content as often as apps are available. The appstore request itself was cached nevertheless in an appdata dir, but with an object storage this is still a lot of round trips to read this cached result. Thus the instantiated list is now cached in a static variable (because it's a static method call).
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/base.php')
0 files changed, 0 insertions, 0 deletions