From e262b2d01ccf26deb2345665a748548c7c18a8c1 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Thu, 5 Nov 2015 21:31:46 +0100 Subject: =?UTF-8?q?[ci=20skip]=20(=20=CD=A1=C2=B0=20=CD=9C=CA=96=20=CD=A1?= =?UTF-8?q?=C2=B0)=20(=20=CD=A1=E2=8A=99=20=CD=9C=CA=96=20=CD=A1=E2=8A=99)?= =?UTF-8?q?=20(=20=CD=A1=E2=97=89=20=CD=9C=CA=96=20=CD=A1=E2=97=89)=20java?= =?UTF-8?q?script=20=3D>=20JavaScript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JavaScript is spelled with a capital J and S. --- guides/source/asset_pipeline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 7752c36926..0f2283318a 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -1021,7 +1021,7 @@ header](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) is a W3C specification that describes how a request can be cached. When no CDN is used, a browser will use this information to cache contents. This is very helpful for assets that are not modified so that a browser does not need to re-download a -website's CSS or javascript on every request. Generally we want our Rails server +website's CSS or JavaScript on every request. Generally we want our Rails server to tell our CDN (and browser) that the asset is "public", that means any cache can store the request. Also we commonly want to set `max-age` which is how long the cache will store the object before invalidating the cache. The `max-age` -- cgit v1.2.3