Not all CDN providers cache on first request

It’s not something CDN (Content Delivery Network) providers broadcast but not all CDNs cache an object on first request. Their rationale being they don’t want to fill their cache with items that are not frequently requested.

The impact of don’t cache on first request really depends on the nature of what your origin is serving. If origin hits are particularly heavy CPU/IO wise and/or you have flash traffic (large amount in very short window) then you will definitely want your CDN to cache on first request.

The good news is many CDNs can turn this off so first requests are cached.

Advertisements

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: