-
Notifications
You must be signed in to change notification settings - Fork 5
Cloudflare caching #58
Comments
|
Cool. Re 2. Sometimes we get our events into the system pretty last minute, like ~6 hours before (not ideal, but hey). Also, during Startup Week, where we can have one event right after another, we kinda need the page to update in near-real time. So, if we had to pick one time that would cover the SW case too, we'd probably want something really aggressive, like every 15 minutes. Is that an option on whatever free tier we're using? If not, that goes to the next point... Re 1. How do we set that up? |
|
This repo is public and it involved an API secret, so I'll send it to you and Abhi in slack. Don't show it to anyone. It's a simple curl statement. |
@thebyrd Thanks David! Keeping the TTL long and then purging only when necessary makes sense. I think that means purging in two cases:
Alternatively, will cloudflare just respect our headers? Because the ideal scenario would be to treat it just like any other cache, rather than having to special case it. That is, we could tell cloudflare to check our site every fifteen minutes, but we'll send the with an etag that only changes when we redeploy or the next event changes. So we'd just send cloudflare a 304 if their cache is still good. And we could do the same thing for the static files. |
🔥 🔥 adding a subdomain in cloudflare is pretty straightforward. A slack message would have solved the problem in 5 minutes. Now the site is down, when you're ready to get the site back up, please slack me the subdomains and ips you'd like. Next time you don't know how something works don't freak out in ignorance. Instead, communicate. |
Don't keep switching dns please! Breaks a lot of things during events @ethanresnick On Tuesday, March 3, 2015, David Byrd [email protected] wrote:
|
I haven't touched it yet |
@thebyrd You're right that I could have asked you first, and then only made the change on my own if you didn't respond right away. I just felt a sense of urgency because I got a message from the bd team telling me that they were sending out sponsorship prospectuses and companies couldn't get them to load, so I reacted in a bit of a panic. I do appreciate your help with this. @AbhiAgarwal Sorry that this broke stuff during the event! I just wanted to get the things back online for bd asap. |
prompted by @thebyrd's comment about cloudflare caching:
The text was updated successfully, but these errors were encountered: