danboyle8637
Explore posts from serversCDCloudflare Developers
•Created by danboyle8637 on 5/21/2024 in #workers-help
New Rate Limiting Binding - Impossible To Add New ENV Variables?
Cool thanks!
And sorry just to double check and potentially save myself a headache... is it best practice to delete my ENV variables in the dashboard and then add them all through
wrangler secret put
??
Thanks so much for the help tonight!8 replies
CDCloudflare Developers
•Created by danboyle8637 on 5/21/2024 in #workers-help
New Rate Limiting Binding - Impossible To Add New ENV Variables?
@Walshy | Deploying cool thanks. I did use
wrangler secret put
for more recent secrets. But where can keep record of these? I can't use the key in the wrangler.toml
file. What are the best practices here?
Would you recommend removing all my keys from the Dash and adding through wrangler
??8 replies
CDCloudflare Developers
•Created by danboyle8637 on 12/13/2023 in #workers-help
Thinking Outside The Box With Durable Objects
Nice yall... thanks for responding and confirming the thought process.
@mackenzie I have not set this up myself in production yet. But you need service worker and then implement the Push API (https://developer.mozilla.org/en-US/docs/Web/API/Push_API/Best_Practices) The examples aren't all that good... but it doesn't seem too hard to get setup. I think the key is to keep the service worker simple to start.
4 replies
CDCloudflare Developers
•Created by danboyle8637 on 12/6/2023 in #workers-help
Best Logging Solution for Small App
@Paul Shriner I just went ahead and set up queues. It seems to work really nicely so far in development.
I'm launching it to production even though it's in beta.
But it's very easy to setup and send any custom data you want to a consumer Worker.
3 replies
CDCloudflare Developers
•Created by Kosicki on 12/5/2023 in #workers-help
How to make queue consumers standalone to consume production queue locally (to debug)?
I'm pretty sure somewhere in there is says for local development you need to make your producer Worker also the consumer.
3 replies
CDCloudflare Developers
•Created by danboyle8637 on 10/21/2023 in #workers-help
Using Durable Objects in Dev Environment
Of course I figured this out after I posted this. I always works out like that right? Ha!
Here's the solution is anybody else has a similar problem:
2 replies
CDCloudflare Developers
•Created by danboyle8637 on 3/29/2023 in #workers-help
Using KV as a cache in the short term?
Awesome. thanks for that answer. Gave me some good research and and things to think about!
4 replies
CDCloudflare Developers
•Created by danboyle8637 on 3/1/2023 in #workers-help
Running Service Binding Worker Locally With Pages App
Oh nice. Thanks for the find. Hopefully that will get merged soon!
2 replies
CDCloudflare Developers
•Created by danboyle8637 on 2/26/2023 in #pages-help
Access environment variables on the client
I'll take a look but I don't think this is what I'm looking for.
7 replies
CDCloudflare Developers
•Created by danboyle8637 on 2/26/2023 in #pages-help
Access environment variables on the client
ok. I did add an variable during build. But I don't understand how to access it in my client code. I'm using vite so typically you go
import.meta.env.VITE_VARIABLE
... maybe I'm missing something obvious but how can I use the variables I set in Cloudflare in my client code?7 replies
CDCloudflare Developers
•Created by danboyle8637 on 2/26/2023 in #pages-help
Access environment variables on the client
No... like lets say I have a api endpoint I don't want exposed in my git repo... so I stash it in an environment variable. I can access that locally during development but how can I expose that to my client code on the production site.
7 replies
CDCloudflare Developers
•Created by danboyle8637 on 2/19/2023 in #workers-help
Worker is logging requests when website is making no requests
ok... thanks for helping clear some things up.
15 replies
CDCloudflare Developers
•Created by danboyle8637 on 2/19/2023 in #workers-help
Worker is logging requests when website is making no requests
no
15 replies