PHP code example of ghislainphu / spress-gzip-static
1. Go to this page and download the library: Download ghislainphu/spress-gzip-static library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ghislainphu / spress-gzip-static example snippets
yaml
# Empty by default
gzip_static_extensions: [ html, css, js, xml, txt ]
# Excluded files (optional)
# gzip_static_exclude: [ rss.xml ]
# Compression Level (optional, default: -1)
# See: https://secure.php.net/manual/function.gzencode.php
# gzip_static_compression_level: 6