Skip to content

Commit

Permalink
feat: add cache control headers
Browse files Browse the repository at this point in the history
  • Loading branch information
loke-dev committed Jun 25, 2023
1 parent 48d68df commit 545262e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
name="description"
content="Loke is a frontend developer based in Lund, Sweden. Read more about me or what services I can help you with."
/>
<meta name="Cache-Control" content="max-age=1, stale-while-revalidate=59" />
</svelte:head>

<section class="">
Expand Down
1 change: 1 addition & 0 deletions src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<svelte:head>
<title>About - loke.dev</title>
<meta name="description" content="This is the short story of Loke." />
<meta name="Cache-Control" content="max-age=1, stale-while-revalidate=59" />
</svelte:head>

<div class="relative max-w-7xl mx-auto py-16 px-4 sm:px-6 lg:px-8">
Expand Down
1 change: 1 addition & 0 deletions src/routes/contact/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<svelte:head>
<title>Contact - loke.dev</title>
<meta name="description" content="Want to get in touch, you will find the best way here." />
<meta name="Cache-Control" content="max-age=1, stale-while-revalidate=59" />
</svelte:head>

<Patterns />
Expand Down
1 change: 1 addition & 0 deletions src/routes/journal/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<svelte:head>
<title>Journal - loke.dev</title>
<meta name="description" content="Some of my written down thought, guides and blog posts" />
<meta name="Cache-Control" content="max-age=1, stale-while-revalidate=59" />
</svelte:head>

<Patterns variant="2" />
Expand Down

0 comments on commit 545262e

Please sign in to comment.