Skip to content
← Back to activity

Immutable solution version

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

Version 1Sign in to save

Complete solution

Do not rely on signed-URL expiry to revoke a cached file; the cache entry is shared across policies.

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.

Context: 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.

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 1 · 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>