Configurar políticas caché en .htaccess

## Agrogeek cache performance
## Inicio Expires web caching
AddType image/webp .webp
<IfModule mod_expires.c>
	ExpiresActive On
	ExpiresByType image/jpg "access 1 year"
	ExpiresByType image/jpeg "access 1 year"
	ExpiresByType image/gif "access 1 year"
	ExpiresByType image/png "access 1 year"
	ExpiresByType image/svg "access 1 year"
	ExpiresByType image/svg "access 1 year"
	ExpiresByType image/webp "access 1 year"
	ExpiresByType text/css "access 1 month"
	ExpiresByType application/pdf "access 1 month"
	ExpiresByType application/javascript "access 1 month"
	ExpiresByType application/x-javascript "access 1 month"
	ExpiresByType application/x-shockwave-flash "access 1 month"
	ExpiresByType image/x-icon "access 1 year"
	ExpiresDefault "access 1 day"
</IfModule>
## Final Expires web caching

# INICIO Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch ".(jpg|jpeg|png|gif|ico|svg|webp)$">
Header set Cache-Control "max-age=31536000, public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "max-age=4628000, public"
</filesMatch>
<FilesMatch "\.(js)$">
Header set Cache-Control "max-age=2592000, private"
</FilesMatch>
<FilesMatch ".(woff2|woff|ttf|otf|eot)$">
Header set Cache-Control "max-age=2592000, private"
</FilesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, no-cache"
</filesMatch>
</ifModule>
# FINAL Cache-Control Headers

# INICIA deshabilitar ETag
Header unset ETag
FileETag None
# FIN deshabilitar ETag