Skip to main content
Browsers cache every Logo.dev CDN image for 24 hours. You don’t need to configure anything.

Browser caching

Every logo the CDN serves carries this header:
  • max-age=86400 lets the browser reuse the logo for 24 hours without a new request.
  • stale-while-revalidate=600 lets the browser show the cached logo for up to 10 minutes after it expires while it fetches a fresh copy in the background.
Each user’s browser keeps its own cache, so a repeat visit loads the logo from the device. When a company changes its logo, the new logo reaches your users as caches expire. Logo.dev’s CDN revalidates in the background, and each browser fetches again when its 24-hour cache expires. The change can take somewhat longer than 24 hours to reach every user. To see the new logo now, add a query parameter with a new value to the URL. The browser treats the new URL as a new image and skips its cached copy:
Change the value, such as v=3, a deploy hash, or a date, each time you want a fresh copy. Each unique URL is a separate cache entry, so change it only when you need to. If the logo is still wrong after a refresh, request an update.

Load logos faster

Preload a logo that appears above the fold:
Lazy load logos below the fold:
To store logos on your own infrastructure instead, see self-hosting.