mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
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:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user