Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12488

Reply To: Gzip compression – custom .htaccess code

$
0
0

Ah, I thank you. I had tried to study all of that a bit but had missed that redundancy!

One more question: Do I only need to be concerned about ‘gzip-only-text/html’ and just ignore these others?
text/plain
text/xml
text/css
text/javascript

I ask because I plan to add this as suggested by the Zen Cache plugin and it has those others in it:

<IfModule deflate_module>
	<IfModule filter_module>
		AddOutputFilterByType DEFLATE text/plain text/html
		AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml application/xml-dtd
		AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml image/svg+xml
		AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript
		AddOutputFilterByType DEFLATE font/otf font/opentype application/font-otf application/x-font-otf
		AddOutputFilterByType DEFLATE font/ttf font/truetype application/font-ttf application/x-font-ttf
	</IfModule>
</IfModule>
  • This reply was modified 2 days, 1 hour ago by  Joseph Lee.
  • This reply was modified 2 days, 1 hour ago by  Joseph Lee.
  • This reply was modified 2 days, 1 hour ago by  Joseph Lee.

Viewing all articles
Browse latest Browse all 12488

Trending Articles