Which file extensions does CloudFlare cache for static content?

CloudFlare's CDN caches the following types of static content by extension for all account types by default:

  • css
  • js
  • jpg
  • jpeg
  • gif
  • ico
  • png
  • bmp
  • pict
  • csv
  • doc
  • pdf
  • pls
  • ppt
  • tif
  • tiff
  • eps
  • ejs
  • swf
  • midi
  • mid
  • ttf
  • eot
  • woff
  • otf
  • svg
  • svgz
  • webp
  • docx
  • xlsx
  • xls
  • pptx
  • ps
  • class
  • jar

If you are looking for more advanced caching or performance options, please look at our paid plans that can help extend caching and performance for your site.

Note: CloudFlare can only cache resources on your site directly. External resources (Facebook, Flickr, etc.) will not be cached. CloudFlare does not cache by MIME type at this time.

Have more questions? Submit a Request

Comments

Article is closed for comments.