Skip to content

Instantly share code, notes, and snippets.

@eivko
Last active July 11, 2016 20:28
Show Gist options
  • Save eivko/b42c68cb24e18487b34b50a099c9aac3 to your computer and use it in GitHub Desktop.
Save eivko/b42c68cb24e18487b34b50a099c9aac3 to your computer and use it in GitHub Desktop.
Кэш ресурсов в браузере на месяц через .htaccess
<FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf|js|css|pdf|woff|eot|ttf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment