nextcloud/core/js
MichaIng 82c1beaacb Enhance and complement OPcache setup checks
The current OPcache recommendations match the PHP defaults, but the values are much higher than required to run Nextcloud, even with a high number of installed apps. On the other hand, when other applications use the same OPcache instance, the recommended values might not be sufficient. Accurate recommendations need to take into account actual OPcache usage.

With this commit, recommendations are shown to raise the config value if more than 90% of max cache size or number of keys is used.

The checks whether the module is loaded and whether the OPcache is properly configured have been merged into a single function. This allowed to reduce the overhead of OPcache configuration checks when the module is not loaded.

A check has been added whether Nextcloud is permitted to use the OPcache API. Without this, inconsistencies during core or app upgrades may cause errors and OPcache usage cannot be determined for the new usage based checks.

OPcache usage based checks are skipped when Nextcloud is not permitted to use the API.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-19 23:38:21 +01:00
..
dist Bump core-js from 3.19.3 to 3.20.0 2021-12-18 15:42:58 +00:00
login The loading animation is back 2019-10-26 23:08:52 +02:00
public Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
tests Enhance and complement OPcache setup checks 2021-12-19 23:38:21 +01:00
backgroundjobs.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
core.json jsunit: Remove warnings during test runs 2020-12-29 08:42:34 +01:00
merged-template-prepend.json Remove empty js.js 2019-05-15 10:40:53 +02:00
mimetype.js Use correct icon for dir-external-root 2021-12-09 14:58:31 +01:00
mimetypelist.js Add OpenDocument flat mimetypes and x-office/drawing alias 2021-10-12 15:14:25 +02:00
publicshareauth.js No more jQuery 2020-02-06 20:41:42 +01:00
select2-toggleselect.js Added system tags GUI in sidebar 2016-01-19 16:24:26 +01:00
setupchecks.js Enhance and complement OPcache setup checks 2021-12-19 23:38:21 +01:00
update.js Use the product name in the updater screen 2021-03-22 16:31:50 +01:00