wikidot.croquembouche.net CORS + caching proxy for *.wikidot.com and *.wdfiles.com Fetch Wikidot pages and files from browser JavaScript (normally blocked by CORS), with caching to ease the load on Wikidot. Supports read-only operations (GET) on public resources only. You do not need to use a CORS proxy when accessing Wikidot resources by any means other than browser Javascript. Usage: in browser-side fetches, pass the encoded target URL as ?url=: https://wikidot.croquembouche.net/?url=THE_ENCODED_ADDRESS E.g. to fetch the text of a CSS code block: const target = "https://scp-wiki.wikidot.com/component:croqstyle/code/1"; const proxied = "https://wikidot.croquembouche.net/?url=" + encodeURIComponent(target); const response = await fetch(proxied); const text = await response.text(); // or .blob() for images Caching: responses are reused for up to an hour by default. Override per request with the X-Proxy-Cache header: await fetch(proxied, { headers: { "X-Proxy-Cache": "max-age=3600" } }); max-age=3600 accept a cached copy up to 1h old (very efficient) max-age=30 accept a cached copy up to 30s old (kinda efficient) no-cache always fetch a fresh copy (inefficient, very impolite) X-Cache response header tells you if it was cached or not (HIT / MISS). Rate limit: 60 requests per 10 seconds per IP, then HTTP 429. Source code: https://github.com/croque-scp/wikidot-cors-proxy