Skip to content

Commit 3478cd2

Browse files
will this fix the caching
1 parent c191921 commit 3478cd2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/dogs/page.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { listDogs, createDog } from '../actions';
22
import DeleteButton from '../ui/DeleteButton';
33

4+
// Force dynamic rendering to prevent caching
5+
export const dynamic = 'force-dynamic';
6+
47
export default async function Page() {
58
// Load dogs from server action
69
const dogs = await listDogs();

0 commit comments

Comments
 (0)