Cache

Hello,



Yes, the latest CS-Cart version can merge all the CSS files to a large one, but Javascript files are not merged yet.



In order to enable merging CSS files, please replace this part of the code:


<br />
// Tweaks<br />
$config["tweaks"]["join_css"] = false; <br />

```<br />
<br />
with this one:<br />
<br />
```php
<br />
// Tweaks<br />
$config["tweaks"]["join_css"] = true; <br />

```<br />
<br />
in  the "config.local.php" file located in the root directory of your CS-Cart installation. <br />
<br />
As regards the Javascript files, the current CS-Cart version can reduce their size only by removing unnecessary spaces, line breaks, etc. from the code. The following option in the same "config.local.php" file is responsible for it:<br />
<br />
```php
<br />
$config["tweaks"]["js_compression"] = false;<br />

```<br />
<br />
So if you want to enable the Javascript compression, you need to change its value to 'true':<br />
<br />
```php
<br />
$config["tweaks"]["js_compression"] = true;<br />

```<br />
 <br />
---<br />
Anastasiya Kozlova<br />
CS-Cart Support Team