diff options
| author | 2017-12-02 21:01:29 +0300 | |
|---|---|---|
| committer | 2017-12-02 19:01:29 +0100 | |
| commit | ac73ba3accd8f5638b330002d002460067c4e012 (patch) | |
| tree | fc8bec3e851d1f40d711884c659b0c214d2c8291 /p/.htaccess | |
| parent | f71ad3f0822f3b3dd8d3bf911e0e23977244a3b3 (diff) | |
Add more glyphs for opensans font (#1032)
* Add more glyphs for opensans font
* Update .htaccess to support woff2 file format
* Fixed browser support for new font face
* Fixed Origine theme css and .htaccess
* Deleted unneeded fonts
* Added stylefiles for OpenSans font
* Fixed all themes with new font css
* Avoid additional CSS file
* htaccess cache control public
* Font casing bug
* Remove TTF font
Too big, low need https://caniuse.com/#search=woff
* Changelog 1032
https://github.com/FreshRSS/FreshRSS/pull/1032
https://github.com/FreshRSS/FreshRSS/pull/1028
Diffstat (limited to 'p/.htaccess')
| -rw-r--r-- | p/.htaccess | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/p/.htaccess b/p/.htaccess index 4321c82d7..74ba7ed11 100644 --- a/p/.htaccess +++ b/p/.htaccess @@ -6,6 +6,11 @@ FileETag None AddDefaultCharset UTF-8 <IfModule mod_mime.c> + AddType application/json .map + AddType application/font-woff .woff + AddType application/font-woff2 .woff2 + + AddCharset UTF-8 .css AddCharset UTF-8 .html AddCharset UTF-8 .js </IfModule> @@ -16,6 +21,8 @@ AddDefaultCharset UTF-8 <IfModule mod_expires.c> ExpiresActive on + ExpiresByType application/font-woff "access plus 1 month" + ExpiresByType application/font-woff2 "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" ExpiresByType application/xhtml+xml "access plus 1 month" ExpiresByType image/x-icon "access plus 1 month" @@ -27,7 +34,7 @@ AddDefaultCharset UTF-8 </IfModule> <IfModule mod_headers.c> - <FilesMatch "\.(css|gif|html|ico|js|png|svg|woff)$"> + <FilesMatch "\.(css|gif|html|ico|js|png|svg|woff|woff2)$"> Header merge Cache-Control "public" </FilesMatch> </IfModule> |
