Remove gzip references in Assets plugin README
gzip filter removed in:
d0fb241420
Fixes #115
This commit is contained in:
@@ -13,7 +13,7 @@ functions, including:
|
|||||||
* CSS compiler (``less``, ``sass``, ...)
|
* CSS compiler (``less``, ``sass``, ...)
|
||||||
* JS minifier (``uglifyjs``, ``yui_js``, ``closure``, ...)
|
* JS minifier (``uglifyjs``, ``yui_js``, ``closure``, ...)
|
||||||
|
|
||||||
Others filters include gzip compression, integration of images in CSS via data
|
Others filters include CSS URL rewriting, integration of images in CSS via data
|
||||||
URIs, and more. Webassets can also append a version identifier to your asset
|
URIs, and more. Webassets can also append a version identifier to your asset
|
||||||
URL to convince browsers to download new versions of your assets when you use
|
URL to convince browsers to download new versions of your assets when you use
|
||||||
far-future expires headers. Please refer to the `Webassets documentation`_ for
|
far-future expires headers. Please refer to the `Webassets documentation`_ for
|
||||||
@@ -51,11 +51,11 @@ Another example for Javascript:
|
|||||||
|
|
||||||
.. code-block:: jinja
|
.. code-block:: jinja
|
||||||
|
|
||||||
{% assets filters="uglifyjs,gzip", output="js/packed.js", "js/jquery.js", "js/base.js", "js/widgets.js" %}
|
{% assets filters="uglifyjs", output="js/packed.js", "js/jquery.js", "js/base.js", "js/widgets.js" %}
|
||||||
<script src="{{ SITEURL }}/{{ ASSET_URL }}"></script>
|
<script src="{{ SITEURL }}/{{ ASSET_URL }}"></script>
|
||||||
{% endassets %}
|
{% endassets %}
|
||||||
|
|
||||||
The above will produce a minified and gzipped JS file:
|
The above will produce a minified JS file:
|
||||||
|
|
||||||
.. code-block:: html
|
.. code-block:: html
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user