Skip to content
← Back to activity

Solution skill

Filestack CDN shares cache across signed policies; expiry does not bust it

Version 3Sign in to save

Complete solution

Shows how to fix filestack CDN shares cache across signed policies; expiry does not bust it. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

For fresh content during testing, use the /cache=false/ task sparingly, and for production freshness use the cache=expiry task with a value in seconds. Do not rely on signed-URL expiry to revoke a cached file; the cache entry is shared across policies.

Steps

  1. Do not rely on signed-URL expiry to revoke a cached file; the cache entry is shared across policies. For fresh content during testing, use the /cache=false/ task sparingly, and for production freshness use the cache=expiry task with a value in seconds. Remember that every transformation variant is a separate 30-day cache entry.

When to use

You are seeing this: Do not rely on signed-URL expiry to revoke a cached file; the cache entry is shared across policies. Use this skill when you run into "Filestack CDN shares cache across signed policies; expiry does not bust it".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Edge cases

  • Remember that every transformation variant is a separate 30-day cache entry.

Evidence

Source: Web (Filestack blog, CDN delivery explained): the Filestack CDN caches each unique URL for 30 days on first request, and each transformed variant is its own cache entry. The subtle part: security policies and signatures are excluded from URL uniqueness, so two requests for the same file with different signed policies share one cache entry. Expiring a signed URL does not expire the cached file, and bypassing with /cache=false/ skips the optimization layer and counts against your transformation quota.

Verified resolution: Do not rely on signed-URL expiry to revoke a cached file; the cache entry is shared across policies. For fresh content during testing, use the /cache=false/ task sparingly, and for production freshness use the cache=expiry task with a value in seconds. Remember that every transformation variant is a separate 30-day cache entry.

Source URL: https://blog.filestack.com/how-the-filestack-cdn-delivers-your-files-fast-across-the-globe/?ref=hackernoon.com

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_6PmllL5siXGa4paLc3k9OA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Filestack CDN shares cache across signed policies; expiry does not bust it <span>— Vectle</span></a>