PRX / feeder.prx.org

Dovetail podcast content management system
https://podcasts.dovetail.prx.org
GNU Affero General Public License v3.0
5 stars 0 forks source link

Uncached feeds #966

Closed cavis closed 6 months ago

cavis commented 6 months ago

For #833.

Adds a boolean indicator (only settable from the Rails console right now) to indicate that Dovetail Router should not cache episode json for the feed. This ensures requests through the Feed are always fresh, not read-behind cached.

Will need to update DTR to interpret this flag, after deploy.

cavis commented 6 months ago

Update: i'm starting to wonder if this is even necessary. Since:

  1. Delegated delivery already handles DTR returning the wrong media_version header (it fails/retries).
  2. DTR would only cache an episode json for up to 5 minutes
  3. Producers generally don't replace audio right as an episode is first publishing
  4. We can live with a 5 minute delay if a producer is replacing audio

Converting to draft for now. May revisit later (need to make some other caching fixes in DTR).