urn:uuid:a153ab50-785b-5347-b9e7-2d6a49f01e43 Topic: HTTP Caching – Ctrl blog Daniel Aleksandersen https://www.daniel.priv.no/ Copyright © 2020 Daniel Aleksandersen. https://www.ctrl.blog/assets/logo/logo-square.svg 2020-11-23T16:19:00Z weekly 10 urn:uuid:c43d38d3-7474-46a0-9a35-08b244827125 2019-03-26T21:22:00Z 2019-03-26T21:22:00Z Aren’t AMP Caches committing copyright infringement? How can mass-copying pages from web publishers without a license not be mass-copyright infringement? The weird copyright law exemption that enables AMP Caches. <p>Accelerated Mobile Pages (AMP) are specially formatted webpages that companies like Cloudflare, Google, and Microsoft copy off publishers’ websites and make available through their own AMP Cache web servers. There’s no redistribution license agreement between the AMP Caches and the publishers, so how come AMP Caches aren’t considered copyright infringement on a massive scale?</p> <p><a href="https://www.ctrl.blog/entry/amp-cache-copyright.html">Read more …</a></p> urn:uuid:87b8419b-3571-45de-97bd-29901b8cb9fa 2018-08-08T16:02:00Z 2018-08-08T16:02:00Z Avoid Nginx’s merge_slashes option Avoid Nginx’s <code translate="no">merge_slashes</code> option Don’t use Nginx’s merge_slashes option in your HTTP reverse caching proxy setup. Here’s an example of an unintended problem caused by blindly rewriting URLs. <p>This story starts with two seemingly similar but distinctly different URLs: <code>//document</code> and <code>/document</code>. They’re semantically two distinct and unique URLs (RFC 386) and programs can’t assume they can be normalized by removing the “extra” forward slash. Extra slashes can sneak into URLs unintentionally from all sorts of websites and external software, so it can be tempting to attempt to combine seemingly redundant slashes into a single slash.</p> <p><a href="https://www.ctrl.blog/entry/nginx-requesturi-proxycache.html">Read more …</a></p> urn:uuid:89963540-c87b-4e0a-8cd6-0cdc5ee67862 2018-06-11T15:48:00Z 2018-06-11T15:48:00Z Problems to expect when using the Apache mod_cache module Problems to expect when using the Apache <code translate="no">mod_cache</code> module Five implementation problems and gotchas when using Apache’s HTTP caching module. Learn how to keep your HTTPD caching proxy server from messing up. <p>The <code>mod_cache</code> module in the Apache HTTP Server (httpd) is a standard HTTP web cache that you can use to accelerate your website by caching dynamically generated pages (or pages passed through a proxy.) This can bypassing large parts of the processing chain and fulfill each request much faster than if your server had to regenerate the request each time.</p> <p><a href="https://www.ctrl.blog/entry/mod_cache.html">Read more …</a></p> urn:uuid:bdbddc1b-8598-4ff4-8de7-2852863baa0f 2017-10-25T00:14:00Z 2018-06-07T16:09:00Z Budget CDNs BunnyCDN, KeyCDN, and CDNSun compared Compare three budget content delivery networks to find which one gets you the most bang for your bucks. Minimum pricing varies greatly. <p>Here is my quick comparison and micro-review of three budget content delivery networks (CDN) for speeding up your website’s page load times.</p> <p><a href="https://www.ctrl.blog/entry/budget-cdn-review.html">Read more …</a></p> urn:uuid:df3b2238-8ec6-4583-a6e6-ef26a69571d5 2017-10-19T04:58:00Z 2020-11-23T16:19:00Z Which CDN providers support stale-while-revalidate? Which CDN providers support <code translate="no">stale-while-revalidate</code>? A quick review of which content delivery networks support RFC 5861’s Stale-While-Revalidate and Stale-If-Error caching directives. <p>Last week, I talked about the benefits of and how you can test for <code>stale-while-revalidate</code> support (RFC 5861.) This week, I’ve done the testing for you.</p> <p><a href="https://www.ctrl.blog/entry/cdn-rfc5861-support.html">Read more …</a></p>