Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/follow-redirects-1.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
NatVIII authored Jan 27, 2024
2 parents cf5cb07 + 453254e commit aa039ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ npm run dev
```

After it initializes, you should be able to open the application in your browser at http://localhost:3000/

If you want to clear the cache, run the following command (I've noticed this is necessary after adding a new calendar locally)

```
npm run clear-cache
```
5 changes: 5 additions & 0 deletions assets/event_sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
"name": "MADRVA",
"googleCalendarId": "7332d16dfa04b8b3e944e462f6dc832d5559036dbc9f15d9803f04d61ce5ad7d@group.calendar.google.com",
"city": "Oakland"
},
{
"name": "C's Weekly Rides Calendar",
"googleCalendarId": "999072f138be452067352af67a3cc0370c7594ef8b8ae19fd4d73d3cd9471032@group.calendar.google.com",
"city": "Oakland"
}
]
}
2 changes: 1 addition & 1 deletion utils/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const toCorsProxy = (url: string) => 'https://corsproxy.io/?' + encodeURI
export const clientCacheMaxAgeSeconds = 0.5 * 3600;
export const clientStaleWhileInvalidateSeconds = 12 * 3600;

export const serverCacheMaxAgeSeconds = 4 * 3600;
export const serverCacheMaxAgeSeconds = 0.001 * 3600;
// For how long can a server use an invalidated response (during which it will revalidate for the next request).
// But it appears that the Nitro server (Nuxt's backend) supports a specific flag for always using stale-while-revalidating if set to -1.
// https://nitro.unjs.io/guide/introduction/cache
Expand Down

0 comments on commit aa039ad

Please sign in to comment.