Crazy Rabbit
01/18/2023, 10:33 AMCrazy Rabbit
01/18/2023, 10:46 AMCrazy Rabbit
01/18/2023, 10:46 AMbkyerv
01/18/2023, 11:51 AMzod
get imported everytime a request is served using this function? or is it imported once when the funcion is deployed and used thereafter from some sort of memory/cache?HardAtWork
01/18/2023, 11:52 AMzod
that you call, and bundle it up into a single file, which means every bit of your script, and every dependency(treeshaken) is in memory at all times.JustinNoel
01/18/2023, 12:30 PMzegevlier
01/18/2023, 12:40 PMIanVS
01/18/2023, 8:19 PMwrangler pages dev
, it seems that my environment variables are not being used from my project. What do I need to do to get access to those? Create a .env
file?IanVS
01/18/2023, 8:25 PM.dev.vars
Steve French
01/19/2023, 10:10 PMStigin
01/20/2023, 12:07 AMSteve French
01/20/2023, 4:25 AMCrazy Rabbit
01/20/2023, 9:05 AMCrazy Rabbit
01/20/2023, 9:06 AMCrazy Rabbit
01/20/2023, 9:11 AMWilliam.
01/20/2023, 9:21 AM<title>test1</title>
https://mypage.spa/test2 --> insert <title>test2</title>
Obviously this has to be done before the HTML is sent to the client (SSR style), can functions do that for me ? Or should I find a way to do it using workers instead ?
I'm currently reading the "Middleware" section of the Functions doc, it looks like this is what i'm looking for, can anyone just confirm ?Skye
01/20/2023, 9:41 AMCrazy Rabbit
01/20/2023, 9:41 AMRui Saraiva
01/20/2023, 9:44 AMSkye
01/20/2023, 9:44 AMRui Saraiva
01/20/2023, 9:47 AMSkye
01/20/2023, 9:48 AMRui Saraiva
01/20/2023, 10:02 AMWilliam.
01/20/2023, 12:37 PMJustinNoel
01/20/2023, 3:36 PMSteve French
01/20/2023, 6:54 PMThe Tank
01/20/2023, 11:46 PMkian
01/20/2023, 11:47 PMThe Tank
01/20/2023, 11:47 PMThe Tank
01/21/2023, 12:00 AM