Skip to content

Commit

Permalink
Cache control headers for homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Aug 20, 2024
1 parent b3ae61e commit 9a236ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/app/routes/_layout._index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { HeadersFunction } from '@remix-run/server-runtime'
import { CACHE_CONTROL } from '~/lib/http.server'
import { Hero } from '../components/hero/hero'
import { SkipToContent } from '../components/skip-to-content'

export const headers: HeadersFunction = () => {
return { 'Cache-Control': CACHE_CONTROL.DEFAULT }
}

export default function Index() {
return (
<>
Expand Down

0 comments on commit 9a236ad

Please sign in to comment.