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
It sounds like a total rookie question but I would like to get pointed in the right direction.
I wanted to deploy an edge function with cache = "manual" and after 2 hours of digging around, I found that I had to add the route to the excluded patterns in server.js. If I removed the cache = "manual" it worked without touching the server.js. I'm a bit clueless about how everything works here.
So "Remix with the 'Edge' integration" works by separating the edge functions from the framework and letting them work on their own routes? Can I call an edge function inside a Remix route? How?
What exactly does the server.js do? Where did you find any information on how to build the template? Any help would be much appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It sounds like a total rookie question but I would like to get pointed in the right direction.
I wanted to deploy an edge function with cache = "manual" and after 2 hours of digging around, I found that I had to add the route to the excluded patterns in server.js. If I removed the cache = "manual" it worked without touching the server.js. I'm a bit clueless about how everything works here.
So "Remix with the 'Edge' integration" works by separating the edge functions from the framework and letting them work on their own routes? Can I call an edge function inside a Remix route? How?
What exactly does the server.js do? Where did you find any information on how to build the template? Any help would be much appreciated.
Kind Regards, MiKE
Beta Was this translation helpful? Give feedback.
All reactions