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
Alternatively, you can bypass the cache entirely in development by adding `shouldBypassCache: () => import.meta.dev` to your `defineCachedEventHandler` options:
141
+
142
+
```ts
143
+
exportdefaultdefineCachedEventHandler(
144
+
asyncevent=> {
145
+
// ...
146
+
},
147
+
{
148
+
maxAge: 60*5,
149
+
shouldBypassCache: () =>import.meta.dev,
150
+
},
151
+
)
152
+
```
153
+
140
154
The `.cache/` directory is a separate storage mount used for fetch-cache and atproto data.
0 commit comments