snipt

Ctrl+h for KB shortcuts

Text only

.htaccess Gzip Compression

1
2
3
4
5
# BEGIN GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>
# END GZIP
https://snipt.net/embed/31208984d23e86248954e9a43d8214b9/
/raw/31208984d23e86248954e9a43d8214b9/
31208984d23e86248954e9a43d8214b9
text
Text only
5
2019-06-26T23:10:29
True
False
False
/api/public/snipt/122411/
htaccess-gzip-compression-1
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a># BEGIN GZIP </span><span id="L-2"><a name="L-2"></a>&lt;ifmodule mod_deflate.c&gt; </span><span id="L-3"><a name="L-3"></a>AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </span><span id="L-4"><a name="L-4"></a>&lt;/ifmodule&gt; </span><span id="L-5"><a name="L-5"></a># END GZIP </span></pre></div> </td></tr></table>
gzip, htaccess