# Compress all output labeled with one of the following media types
<IfModule mod_filter.c>
- AddOutputFilterByType DEFLATE "application/atom+xml" \
- "application/javascript" \
- "application/json" \
- "application/ld+json" \
- "application/manifest+json" \
- "application/rdf+xml" \
- "application/rss+xml" \
- "application/schema+json" \
- "application/vnd.geo+json" \
- "application/vnd.ms-fontobject" \
- "application/x-font-ttf" \
- "application/x-javascript" \
- "application/x-web-app-manifest+json" \
- "application/xhtml+xml" \
- "application/xml" \
- "font/eot" \
- "font/opentype" \
- "image/bmp" \
- "image/svg+xml" \
- "image/vnd.microsoft.icon" \
- "image/x-icon" \
- "text/cache-manifest" \
- "text/css" \
- "text/html" \
- "text/javascript" \
- "text/plain" \
- "text/vcard" \
- "text/vnd.rim.location.xloc" \
- "text/vtt" \
- "text/x-component" \
- "text/x-cross-domain-policy" \
- "text/xml"
+ AddOutputFilterByType DEFLATE application/atom+xml \
+ application/javascript \
+ application/json \
+ application/ld+json \
+ application/manifest+json \
+ application/rdf+xml \
+ application/rss+xml \
+ application/schema+json \
+ application/vnd.geo+json \
+ application/vnd.ms-fontobject \
+ application/x-font-ttf \
+ application/x-javascript \
+ application/x-web-app-manifest+json \
+ application/xhtml+xml \
+ application/xml \
+ font/eot \
+ font/opentype \
+ image/bmp \
+ image/svg+xml \
+ image/vnd.microsoft.icon \
+ image/x-icon \
+ text/cache-manifest \
+ text/css \
+ text/html \
+ text/javascript \
+ text/plain \
+ text/vcard \
+ text/vnd.rim.location.xloc \
+ text/vtt \
+ text/x-component \
+ text/x-cross-domain-policy \
+ text/xml
</IfModule>
<IfModule mod_mime.c>
</IfModule>
</IfModule>
-### End: Compression via TYPO3 ###
+### End: Compression ###
</IfModule>
-### End: Browser caching of ressource files ###
+### End: Browser caching of resource files ###
### Begin: MIME types ###
# Enable URL rewriting
RewriteEngine On
- # Using mod_rewrite in .htaccess files without knowing the RewriteBase
- RewriteBase /
-
- # Store the current location in an environment variable CWD
+ # Store the current location in an environment variable CWD to use
+ # mod_rewrite in .htaccess files without knowing the RewriteBase
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ - [E=CWD:%2]