Chris Swithinbank

Results 478 comments of Chris Swithinbank

> It seems a bit weird to me having a "Reference" group and then a bunch of reference pages outside of that group. The word "reference" is also repeated in...

Hey @rjdusk! I guess Vimeo blocks us from loading the the poster URL from their API if the video is hidden. I don’t know if there’s a fix on our...

How would this work for static pages? Or would it be an error to set `cache` in config without an adapter? I don’t _love_ seeing routing config in `astro.config.mjs` as...

Ah, true. I also don’t _love_ redirects in config, but I guess I’ll have to bite my tongue 😂

I guess it would be possible to implement with middleware instead if you wanted to match patterns? ```ts export const onRequest = ({ url, cache }, next) => { if...

Ah, forgot about edge middleware. Annoying. (Although we could presumably work around it by passing state from edge middleware to the underlying handler? It’s all serializable state after all.) I’m...

So no merging, fully verbose config for each pattern would be required 👍 ```js // astro.config.mjs export default { cache: { routes: { '/**': { maxAge: 0, swr: 60, tags:...

Agreed! I unfortunately haven’t had much time to spend on this but would very much like to revisit some of these limited APIs to make them more flexible.

Sorry for the slow response — haven’t had much time to maintain this project. Yeah, definitely agree. This was an expedient but bad API decision 😀 In a future version...

Thanks for the issue @Taewan-P. Could you share a minimal reproduction?