chore: ttl + styles

This commit is contained in:
Cory Dransfeldt 2024-08-12 18:35:06 -07:00
parent 7052ee581a
commit c3cf28179a
No known key found for this signature in database
6 changed files with 7 additions and 7 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "22.2.2",
"version": "22.2.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "22.2.2",
"version": "22.2.3",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.5.0",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "22.2.2",
"version": "22.2.3",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"scripts": {

View file

@ -1,4 +1,5 @@
@import url('./tab-buttons.css');
@import url('./text-toggle.css');
button,
.button {

View file

@ -20,6 +20,6 @@
}
}
button[data-toggle-button] {
margin-bottom: var(--sizing-base);
[data-toggle-content]+button[data-toggle-button]:has(+ table) {
margin: 0 0 var(--sizing-base);
}

View file

@ -35,5 +35,4 @@
@import url('./components/music-chart.css') layer(components);
@import url('./components/paginator.css') layer(components);
@import url('./components/progress-bar.css') layer(components);
@import url('./components/text-toggle.css') layer(components);
@import url('./components/theme-toggle.css') layer(components);

View file

@ -12,7 +12,7 @@ async function handleRequest(request) {
headers: request.headers
})
const newHeaders = new Headers(response.headers)
newHeaders.set('Cache-Control', 'max-age=2592000')
newHeaders.set('Cache-Control', 'max-age=15552000')
return new Response(response.body, {
status: response.status,