CompressCache

Provides the ability to compress cache files using the gzip
Free
Download the package from the manager of your site.
How to download?
The author
Сергей
Packages
1
Downloads
11
Автор дополнения
Packages
1
Downloads
11
Version 1.0.0-pl
Release date 08.04.2020
Downloads 11
Views 974
Warning! This component requires PHP version 5.3 or higher! If your site uses PHP less than required, the installation of this package could break it.
Provides the ability to compress cache files using the gzip
This may be a good solution if the cache doesn't have enough disk space and there are no ways to optimize its usage

After installation
1. Clear the cache
2. As a provider of the cache to specify the class «cache.CompressFileCache» This can be done in the settings in the core space of the caching section.
a) to compress all cache files, use the cache_handler parameter
b) to compress a specific type of cache files, create a parameter like cache__handler, for example, cache_resource_handler to compress the resource cache

To configure the compression level, use the compression_level parameter (core space, caching section) Acceptable values from 0 to 9 or -1-use the default compression level of the zlib library