Porównaj commity

...

4 Commity

Autor SHA1 Wiadomość Data
Nolan Lawson 8f61ea75ce chore: cache png icons forever to lower vercel costs 2024-05-04 13:11:33 -07:00
Nolan Lawson 5889b404cb Revert "chore: remove small icons to reduce vercel costs"
This reverts commit 794d9ca74e.
2024-05-04 09:41:47 -07:00
Nolan Lawson 794d9ca74e chore: remove small icons to reduce vercel costs 2024-04-26 06:43:50 -07:00
Nolan Lawson 72a07ac40d
docs: mark as unmaintained (#2355) 2023-01-09 08:13:18 -08:00
4 zmienionych plików z 18 dodań i 4 usunięć

Wyświetl plik

@ -1,4 +1,6 @@
# Pinafore
# Pinafore [![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)
_**Note:** Pinafore is unmaintained. Read [this](https://nolanlawson.com/2023/01/09/retiring-pinafore/). Original documentation follows._
An alternative web client for [Mastodon](https://joinmastodon.org), focused on speed and simplicity.

Wyświetl plik

@ -44,7 +44,13 @@ const JSON_TEMPLATE = {
}
},
{
src: '^/.*\\.(png|css|json|svg|jpe?g|map|txt|gz|webapp|woff|woff2)$',
src: '^/.*\\.(png|jpe?g)$',
headers: {
'cache-control': 'public,max-age=31536000,immutable'
}
},
{
src: '^/.*\\.(css|json|svg|map|txt|gz|webapp|woff|woff2)$',
headers: {
'cache-control': 'public,max-age=3600'
}

Wyświetl plik

@ -4,7 +4,7 @@
"version": "2.6.0",
"type": "module",
"engines": {
"node": "^12.20.0 || ^14.13.1 || ^16.0.0 || ^18.0.0"
"node": "^12.20.0 || ^14.13.1 || ^16.0.0 || ^18.0.0 || ^20.0.0"
},
"scripts": {
"lint": "standard && standard --plugin html 'src/routes/**/*.html'",

Wyświetl plik

@ -29,7 +29,13 @@
}
},
{
"src": "^/.*\\.(png|css|json|svg|jpe?g|map|txt|gz|webapp|woff|woff2)$",
"src": "^/.*\\.(png|jpe?g)$",
"headers": {
"cache-control": "public,max-age=31536000,immutable"
}
},
{
"src": "^/.*\\.(css|json|svg|map|txt|gz|webapp|woff|woff2)$",
"headers": {
"cache-control": "public,max-age=3600"
}