Build a Cache-Control header
API · /cachecontrol-api
Cache-Control API
Analizza e costruisce intestazioni HTTP Cache-Control (RFC 9111). L'endpoint di analisi trasforma un'intestazione Cache-Control in direttive strutturate e nominate — public e private, no-store, no-cache, no-transform, max-age e s-maxage, must-revalidate e proxy-revalidate, immutable, stale-while-revalidate, stale-if-error, min-fresh e max-stale — insieme a un rapido riepilogo: se la risposta è memorizzabile nella cache, se deve essere convalidata prima dell'uso, la sua visibilità (public o private) e la sua max-age in secondi. L'endpoint di costruzione assembla un'intestazione corretta e ordinata canonicamente da campi booleani e numerici semplici, convalidando che le direttive basate su secondi siano interi non negativi e citando le forme field-list di no-cache e private. Tutto viene calcolato localmente e deterministicamente, quindi è istantaneo e privato. Ideale per configurazioni CDN e edge, proxy di caching e proxy inversi, risposte API e ottimizzazione di asset statici, e debug del motivo per cui una risposta viene (o non viene) memorizzata nella cache. Puro calcolo locale — nessuna chiave, nessun servizio di terze parti, istantaneo. Live, nulla viene memorizzato. 3 endpoint. Questo costruisce e analizza la stringa dell'intestazione stessa; non recupera un URL.
API salute
salutare- Tempo di attività
- 100.00%
- Sondaggi del server · 24 ore su 24
- Latenza media
- 97 ms
- Sondaggi del server · 24 ore su 24
- Abbonati
- 3,244
- attiva
- Chiamate totali
- 39
- ultimi 7 giorni
Prezzi
Scegli un livello: fatturazione mensile, annullamento in qualsiasi momento.
Free
Gratis
- 2,735 chiamate/mese
- 2 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 2,735 calls/month
- 2 req/sec
- Parse + build
- No credit card
Starter
€4.25 /mese
- 12,250 chiamate/mese
- 8 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 12.25k calls/month
- 8 req/sec
- All RFC 9111 directives
- Email support
Pro
€24.15 /mese
- 173,500 chiamate/mese
- 20 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 173.5k llamadas/mes
- 20 req/seg
- Tuberías CDN / edge / proxy
- Soporte prioritario
Mega
€62.15 /mese
- 910,000 chiamate/mese
- 50 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 910k llamadas/mes
- 50 req/seg
- Escala de plataforma
- SLA dedicado
Costruito da
Correlato APIs
Altro APIs con tag sovrapposti.
CORS API
Construye encabezados de respuesta CORS correctos y evalúa solicitudes preflight — sin tener que releer la especificación cada vez. El endpoint de encabezados convierte una política simple (orígenes permitidos, métodos, encabezados de solicitud, si se permiten credenciales, una edad máxima de preflight y cualquier encabezado de respuesta expuesto) en el conjunto exacto de encabezados Access-Control-* a devolver, y maneja las partes que la gente suele equivocar: no se puede combinar un origen comodín con credenciales, por lo que refleja el origen de solicitud específico y agrega Vary: Origin; omite el encabezado allow-origin cuando un origen no está en su lista; y advierte cuando una configuración no se comportaría como se espera. El endpoint de verificación toma una solicitud entrante — su Origin, el método (solicitado) y Access-Control-Request-Headers — y le indica si pasaría CORS, la razón precisa si falla, y los encabezados de respuesta que debe enviar. Todo se calcula local y determinísticamente, por lo que es instantáneo y privado. Ideal para puertas de enlace API y backends, funciones edge y serverless, depuración de errores CORS del navegador y obtener una política de seguridad exacta. Cálculo puramente local — sin clave, sin servicio de terceros, instantáneo. En vivo, nada almacenado. 3 endpoints. Esto construye y verifica los encabezados; no realiza una solicitud de origen cruzado — para inspeccionar los encabezados de seguridad de un sitio en vivo, use una API de encabezados de seguridad.
api.oanor.com/cors-api
Client IP API
Find the real client IP behind proxies, CDNs and load balancers. The client endpoint takes an X-Forwarded-For list (or an RFC 7239 Forwarded header) together with a count of proxies you trust, and returns the actual client address — stripping the trusted proxies from the right-hand side so that a spoofed left-most value cannot fool you — along with the full ordered hop chain, the left-most and right-most entries and the address family. The parse endpoint decomposes a Forwarded header into its for/by/host/proto hops, or an X-Forwarded-For header into its ordered list of addresses, stripping ports and IPv6 brackets so you get clean IPs. Getting this right matters for security: trusting the wrong entry lets clients spoof their IP, so the trusted-proxy model returns the first address you did not put there yourself. Everything is computed locally and deterministically, so it is instant and private. Ideal for reverse proxies and API gateways, rate limiting and abuse prevention, audit logging and analytics, geo and fraud checks, and any backend sitting behind a load balancer. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This parses forwarding headers to find the client IP; to geolocate that IP use an IP-geolocation API.
api.oanor.com/clientip-api
Content-Disposition API
解析和构建 HTTP Content-Disposition 标头(RFC 6266,含 RFC 5987 filename* 编码)。parse 端点将标头解析为其处置类型(attachment、inline 或 form-data)、文件名——正确解码扩展的 filename*=UTF-8''… 形式,并严格按照规范优先于普通文件名——以及 form-data 字段名和任何剩余参数。build 端点从简单字段组装正确的标头,当文件名包含非 ASCII 字符(重音、表情符号、中日韩文字)时,自动发出 ASCII 回退文件名和百分号编码的 filename*,以便每个浏览器显示正确的下载名称,同时旧客户端仍能工作。所有计算均在本地确定性地完成,因此即时且私密——从不获取或存储任何文件。非常适合文件下载和上传端点、对象存储和 CDN、内容网关和代理、电子邮件和多部分处理,以及调试下载命名错误的问题。纯本地计算——无需密钥,无需第三方服务,即时。实时,不存储任何内容。3 个端点。此 API 构建和解析标头字符串本身;不提供文件服务。
api.oanor.com/contentdisposition-api
Link Header API
Parse and build RFC 8288 HTTP Link headers (Web Linking). The parse endpoint turns a Link header into a structured list — each link with its URI, its rel relation(s) and any target attributes (title, type, hreflang, media, anchor) — and also returns a handy rel→uri map, so you can grab the next, prev, first and last URLs for API pagination in a single step. It correctly handles the awkward parts: multiple comma-separated links, commas inside angle-bracketed URIs, quoted parameter values, multiple space-separated rel tokens, and RFC 8187 extended values. The build endpoint assembles a correct Link header from one or more link objects (or a single uri + rel with optional attributes), quoting values only where required. Everything is computed locally and deterministically, so it is instant and private. Ideal for paginated REST APIs and clients, hypermedia and HATEOAS, HTTP preload/prefetch hints, feed and alternate-format discovery, proxies and gateways. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This builds and parses the Link header string itself; it does not fetch a URL.
api.oanor.com/linkheader-api
Domande frequenti
Risposte rapide su prezzi, quote e integrazione.
Come ottengo una chiave API per Cache-Control API?
Qual è il limite di velocità di Cache-Control API?
Quanto costa Cache-Control API?
Posso cancellare l'abbonamento in qualsiasi momento?
Cache-Control API è conforme al GDPR?
Scegli un endpoint dall'elenco a sinistra per visualizzarne i dettagli e provarlo.
Frammenti di codice
Iscriviti per ottenere una chiave API, quindi chiama qualsiasi percorso sotto il tuo slug.
curl https://api.oanor.com/cachecontrol-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/cachecontrol-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/cachecontrol-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/cachecontrol-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Valutazioni
Accedi per votare.
Nessuna recensione ancora.
Discussione
Fai domande, condividi consigli, ricevi risposte dal provider e dagli altri sviluppatori. Pubblico — chiunque può leggere.
Accedi per scrivere o rispondere.
AccediNuova discussione
·
-
Risposta del provider
🔒 Discussione bloccata — non si può più rispondere.
-
·
- Nessuna discussione — inizia tu.
Supporto
Supporto privato 1:1 con il provider — fatturazione, integrazione, account. Solo tu e il team del provider vedete questi thread.
Accedi per aprire un ticket di supporto.
AccediApri nuovo ticket
Descrivi cosa ti serve. Il team del provider riceve un'email e risponde sulla pagina del ticket.
-
·
Urgente - Nessun ticket per questa API.