Caching and styling

This commit is contained in:
2023-02-19 15:16:39 +11:00
parent 6ad4f75525
commit c5d8e435a7
5 changed files with 36 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ server {
# Now this supposedly should work as it gets the filenames with querystrings that Rails provides.
# BUT there's a chance it could break the ajax calls.
location ~* \.(ico|css|gif|jpe?g|png|js)(\?[0-9]+)?$ {
location ~* \.(ico|css|gif|jpe?g|png|js|ttf)(\?[0-9]+)?$ {
expires max;
break;
}