You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`url`| The URL of your Goodreads shelf, user, or author. | ✅ | - |
71
+
|`refreshIntervalDays`| Number of days to cache data before fetching again from Goodreads. | ❌ |`0`|
72
+
73
+
When `refreshIntervalDays` is set (e.g., to `7` for weekly updates), the loader will only fetch new data from Goodreads when that many days have passed since the last fetch.
74
+
feat: Add optional loader option `refreshIntervalDays`. If not specified, no caching is done between builds (Astro's default data caching between page loads still applies).
71
75
72
76
### Defining & Using Astro Content Collections
73
77
@@ -101,6 +105,7 @@ import { goodreadsLoader } from "astro-loader-goodreads";
0 commit comments