Caching CORS Proxy

Caching CORS Proxy

A simple CORS proxy with optional dynamic caching capabilities

Deploy Caching CORS Proxy

Proxy

campaigncode/proxy

Just deployed

Redis

bitnami/redis

Just deployed

/bitnami

Caching CORS Proxy

A simple CORS proxy with optional dynamic caching. To use the cache, use the /cache/{time} endpoint. Time must represent a valid duration. Ex:

  • 1 minute
  • 2 hours

Allowed durations are:

  • ms
  • second(s)
  • minute(s)
  • hour(s)
  • day(s)
  • week(s)
  • month(s)

To avoid using the cache, simply use /{YOUR URL}. To bypass cache on a specific request, set "x-apicache-bypass": true in the request header.

ALL requests will be routed through the CORS server, regardless of whether they are cached or not.

To enable detailed logs of requests in the console, set the EHNANCED_LOGS environment variable to true.

Examples

  • https://CACHE PROXY URL/cache/10 minutes/https://URL TO BE CACHED/ will be cached for 10 minutes.
  • https://CACHE PROXY URL/cache/1 hour/https://URL TO BE CACHED/ will be cached for 1 hour.
  • https://CACHE PROXY URL/https://URL TO BE CACHED/ will not be cached.

For bug reports or feature requests, please open an issue on our github page.

Notice: The logo for this template is provided by VectorPortal.


Template Content

Deploy Now

Details

Rahul Rao

Created on Mar 9, 2024

11 total projects

9 active projects

100% success on recent deploys

JavaScript

Other



More templates in this category

View Template
Foundry Virtual Tabletop

Foundry Virtual Tabletop

A Self-Hosted & Modern Roleplaying Platform


Lucas

View Template
Simple Medusa Backend

Simple Medusa Backend

Deploy an ecommerce backend and admin using Medusa


Shahed Nasser

View Template
peppermint

peppermint

Docker-compose port for peppermint.sh


HamiltonAI