พอดีผมจะทำการ Cache รูปภาพกับไฟล์พวก .js และ css น่ะครับ พร้อมกับทำพวก gzip เพื่อทดสอบใน google pagespeed น่ะครับ พอค้นหาข้อมูลใน google ก็ได้ประมาณโค้ดต่อไปนี้
<FilesMatch "\.(ico|pdf|jpg|jpeg|png|gif|html|htm|xml|txt|xsl|js|css)$">
Header set Cache-Control "max-age=31536050, public, must-revalidate"
</FilesMatch>
<IfModule mod_deflate.c>
# Insert filters
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE image/svg+xml
# Drop problematic browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</IfModule>
แต่พอนำไปไว้ใน .htaccess ของเว็บผม แล้วตรวจสอบใน
http://www.webconfs.com/http-header-check.php 
แล้วปรากฎว่ามันไม่ทำการ cache และ gzip ให้เลยผลดังภาพแนบน่ะครับ เลยอยากสอบถามว่ากรณีนี้มันน่าจะเกิดจากอะไร ตัวโค้ดมีอะไรผิดพลาดหรือเปล่า หรือมันต้อง config server อะไรบ้าง ขอบคุณครับผม