Azure / Azure/data-api-builder
Ability to set a header (Expires:) based on a column in a table/view
- Lingua principale
- C#
- Stelle
- 1.5k
- Fork
- 370
- Merge medio
- 3g 22h
- PR unite (30g)
- 9
Descrizione
Hi folks, I couldn't find anything like this issue in the backlog, so hopefully there's no duplicate.
We've got some data that's current for a long time (e.g. a reference table) and some other data that's only valid for minutes/hours. In order to benefit from CDN caching of our API responses, we define an [Expires: header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires) in our API that's sourced from a column in the table. We do this with Azure function apps served from a database to good effect today.
Is there any way to set an Expires header within the Data API Builder, sourced from the database?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il modo in cui Data API Builder costruisce le risposte API e legge la configurazione basata sul database, quindi determina dove potrebbe essere definito un valore HTTP Expires proveniente da una tabella o da una vista. Il lavoro è completato quando il comportamento supportato e i relativi vincoli di configurazione o di query sono documentati e coperti da test API appropriati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp
- Ambito
- api, backend, performance
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100