No more asset pipelining

This commit is contained in:
Joas Schilling
2016-09-07 08:58:10 +02:00
parent 613abf408b
commit 030bd5dc92
2 changed files with 0 additions and 28 deletions

View File

@@ -20,7 +20,6 @@ Nextcloud Server Configuration
harden_server
reverse_proxy_configuration
thirdparty_php_configuration
js_css_asset_management_configuration
automatic_configuration
oc_server_tuning
theming

View File

@@ -1,27 +0,0 @@
JavaScript and CSS Asset Management
===================================
In production environments, JavaScript and CSS files should be delivered in a concatenated and compressed format.
Nextcloud can automatically collect all JavaScript and CSS files, aggregate and compress them to then save the result in a folder called 'assets' which can be found in the folder where Nextcloud has been installed.
If your Web server has write access to your Nextcloud installation, then the 'assets' folder will be automatically created for you, otherwise, you need to create it yourself before enabling that option and you must give write access to your Web server user.
Assets found in that folder will from now on be served as static files by your Web server and will be automatically refreshed whenever Nextcloud or one of its apps is updated.
It's important to note that apps installed via git might not always update their version number with every commit and this could lead to an out-of-sync asset folder.
It is not recommended to enable asset-pipelining when using apps pulled via git.
Parameters
----------
::
<?php
$CONFIG = array (
...
'asset-pipeline.enabled' => true,
...
);
You can set this parameter in the :file:`config/config.php`