Discussions
Cache rules for a static tool page with a per-request JSON API?
Hi all, I run a small free web tool, Comment Viewer, where you paste a TikTok, Instagram or YouTube link and the page lists the public comments and replies (with a CSV export). The HTML/JS shell is fully static, but the comment data comes from a JSON endpoint under /api/ that changes on every request.
Best way to handle API retries for bookings?
Hi everyone,
Cache TTL strategy for media objects that expire after 24 hours?
I'm delivering short-lived media objects (they are gone from origin after 24 hours) and trying to work out a sane multi-CDN cache policy for them.
Cache strategy for docs pages generated from PDF sources at build time
We publish a set of reference documents that upstream vendors only give us as PDFs. Our docs pipeline converts each one to Markdown at build time and pushes the rendered HTML to the CDN, and I am trying to work out the right cache strategy for that output.
Check Vanilla gift card balance
How can I check Vanilla gift card balance if the website gives an error?
Cache strategy for sidecar WebVTT caption files that change unpredictably
We serve short-form video with sidecar WebVTT caption tracks instead of burning the text into the frames, and I am trying to settle on sane edge cache rules for the .vtt files. Segments are immutable with hashed filenames, so those are easy — long max-age and done. The caption tracks are the awkward part: same URL, regenerated whenever someone fixes a line, and 95% of the time never touched again after first publish. Right now I send no-cache on every .vtt, which feels wasteful. The three options I keep going back and forth on are a versioned query string with a long TTL, a short 60s TTL with stale-while-revalidate, or surrogate keys plus an explicit purge on edit. For context the tracks come out of https://facelessvideos.app/caption-generator and are plain WebVTT, nothing exotic. What do people here do for text sidecars that change infrequently but unpredictably?
Multi-CDN edge caching for AI-generated video ad delivery
Working on a service that renders short video clips on demand and distributes them across regions. Looking at a multi-CDN setup with edge caching. For assets that update often, what cache-control and purge or surrogate-key strategies do you recommend to avoid stale content while keeping the hit ratio high? For context, the project is https://ravvi.ai
Best way to protect a privacy-focused analytics tool from abuse and bot traffic?
I’m building a small web-based analytics tool that processes user-provided data in the browser and is designed to be privacy-friendly. Since the tool can attract bot traffic and abusive requests, I’m looking for best practices on protecting the site without making the experience too heavy for normal users.
Best way to handle public social media media-download workflows in a browser tool?
I’m researching how browser-based tools handle media download workflows for public social content while keeping the UX simple and privacy-friendly.
How do you cache AI-generated images on a multi-CDN setup?
I'm running an AI image generator project called ImagesArt (https://imagesart.ai) where users turn text prompts into images. We're serving hundreds of thousands of generated images per day and each one has a unique URL, so traditional CDN caching strategies don't fully apply.
