/plushcap/analysis/cloudflare/increasing-cache-hit-rates-with-query-string-sort

Increasing Cache Hit Rates with Query String Sort

What's this blog post about?

The text discusses how Cloudflare optimizes its performance by increasing cache hit rate, focusing on the newly available feature called Query String Sort. By default, Cloudflare caches static files and items are cached by their full URL, including query strings. However, due to the details of how query strings work, this can lead to some cache misses. The Query String Sort feature addresses this issue by sorting the query strings in a URL into a deterministic order before checking cache for the resource or requesting it from the origin. This is especially useful for API servers that rely heavily on multiple query string arguments. Enterprise customers can turn on the feature through the Caching app in the Cloudflare dashboard, and those interested in learning more about the Enterprise plan can get in touch with them.

Company
Cloudflare

Date published
July 7, 2015

Author(s)
Rajeev Sharma

Word count
312

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.