routes.json limit
Hi, we are developing a site with astro and we are currently exceeding the limits for routes.json
We are on a free plan for noe as we are in development. However we looking to launch in october. Our "exclude" list has almost 600 entries. Can we pay to allow a larger amount of entries? (I looked but could not find any information on this)
2 Replies
IIRC it is a technical limit, so it can’t be raised at all. One thing that can help is to optimize your routes a bit.
There's the command
wrangler pages functions optimize-routes
, which can do some stuff automatically, but otherwise you need to try to consolidate some routes.Oh a technical har limit, darn! I have not verified but, I think it is astro putting a lot of the «from path» enteies in our redirects there. I hope I can find a way around it. Thanks for the fast reply.