mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Added some documentation about the gzip plugin.
This commit is contained in:
parent
c749671778
commit
3342d3b9b9
1 changed files with 12 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ The following plugins are currently included with Pelican under ``pelican.plugin
|
||||||
* `GitHub activity`_
|
* `GitHub activity`_
|
||||||
* `Global license`_
|
* `Global license`_
|
||||||
* `Gravatar`_
|
* `Gravatar`_
|
||||||
|
* `Gzip cache`_
|
||||||
* `HTML tags for reStructuredText`_
|
* `HTML tags for reStructuredText`_
|
||||||
* `Related posts`_
|
* `Related posts`_
|
||||||
* `Sitemap`_
|
* `Sitemap`_
|
||||||
|
|
@ -245,6 +246,17 @@ Alternatively, you can provide an email address from within article metadata::
|
||||||
If the email address is defined via at least one of the two methods above,
|
If the email address is defined via at least one of the two methods above,
|
||||||
the ``author_gravatar`` variable is added to the article's context.
|
the ``author_gravatar`` variable is added to the article's context.
|
||||||
|
|
||||||
|
Gzip cache
|
||||||
|
----------
|
||||||
|
|
||||||
|
Certain web servers (e.g., Nginx) can use a static cache of gzip compressed
|
||||||
|
files to prevent the server from compressing files during an HTTP call. Since
|
||||||
|
compression occurs at another time, these compressed files can be compressed
|
||||||
|
at a higher compression level for increased optimization.
|
||||||
|
|
||||||
|
The ``gzip_cache`` plugin compresses all common text type files into a ``.gz``
|
||||||
|
file within the same directory as the original file.
|
||||||
|
|
||||||
HTML tags for reStructuredText
|
HTML tags for reStructuredText
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue