Asset pipelining clarifications

A user complained that the instructions were not clear, so hopefully this makes it easier to configure for people new to ownCloud
This commit is contained in:
Olivier Paroz
2015-03-13 18:44:40 +01:00
parent 9f2eb3b15a
commit bdc9d8a625

View File

@@ -1,9 +1,10 @@
JavaScript and CSS Asset Management
===================================
In production environments, JavaScript and CSS files are delivered in a concatenated and compressed format.
In production environments, JavaScript and CSS files should be delivered in a concatenated and compressed format.
ownCloud creates individual JavaScript and CSS files and saves them in a folder called 'assets' in the web root. This folder must be owned by the web server user and is used for static delivery of these files.
ownCloud 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 ownCloud has been installed.
This folder must be owned by the web server user and will be used for static delivery of these files.
Parameters
@@ -12,8 +13,10 @@ Parameters
.. code-block:: php
<?php
'asset-pipeline.enabled' => true,
$CONFIG = array (
...
'asset-pipeline.enabled' => true,
...
);
You can set this parameters in the :file:`config/config.php`