From c46dab62ca506a47e81c380b38f0b569064fc37c Mon Sep 17 00:00:00 2001 From: vil02 <65706193+vil02@users.noreply.github.com> Date: Sat, 22 Feb 2025 16:26:16 +0100 Subject: [PATCH 1/2] [Speed] Remove trailing spaces --- src/content/docs/speed/index.mdx | 14 +++++++------- .../content/rocket-loader/ignore-javascripts.mdx | 2 +- .../docs/speed/optimization/images/mirage.mdx | 2 +- .../signed-exchanges/enable-signed-exchange.mdx | 2 +- .../signed-exchanges/signed-exchanges-caveats.mdx | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/content/docs/speed/index.mdx b/src/content/docs/speed/index.mdx index 7ade55ddf3328f..ea5903674a8ac4 100644 --- a/src/content/docs/speed/index.mdx +++ b/src/content/docs/speed/index.mdx @@ -13,7 +13,7 @@ import { CardGrid, Description, Feature, LinkTitleCard, Plan, RelatedProduct } f -Improve the performance of your website or web application. +Improve the performance of your website or web application. @@ -50,19 +50,19 @@ Understand your Internet quality to identify scenarios that your Internet connec ## Related products -Customize the cache properties of your HTTP requests. +Customize the cache properties of your HTTP requests. -Understand the performance of your webpages as experienced by your site visitors. +Understand the performance of your webpages as experienced by your site visitors. -Transform images on Cloudflare’s edge platform: resize, adjust quality, and convert images to WebP or AVIF format on demand. +Transform images on Cloudflare’s edge platform: resize, adjust quality, and convert images to WebP or AVIF format on demand. -Take advantage of “server think time” to asynchronously send instructions to the browser to begin loading resources while the origin server is compiling the full response. +Take advantage of “server think time” to asynchronously send instructions to the browser to begin loading resources while the origin server is compiling the full response. *** @@ -73,12 +73,12 @@ Take advantage of “server think time” to asynchronously send instructions to -Learn about the quota limits for the number of tests you can run per month. +Learn about the quota limits for the number of tests you can run per month. -Engage with other users and explore more resources on Cloudflare support forum. +Engage with other users and explore more resources on Cloudflare support forum. diff --git a/src/content/docs/speed/optimization/content/rocket-loader/ignore-javascripts.mdx b/src/content/docs/speed/optimization/content/rocket-loader/ignore-javascripts.mdx index 40eb14cf9f543e..98349b435de05a 100644 --- a/src/content/docs/speed/optimization/content/rocket-loader/ignore-javascripts.mdx +++ b/src/content/docs/speed/optimization/content/rocket-loader/ignore-javascripts.mdx @@ -12,7 +12,7 @@ head: You can have Rocket Loader ignore individual scripts by adding the `data-cfasync="false"` attribute to the relevant script tag: ```html - + ``` Rocket Loader will still optimize the loading of all other scripts on the page. diff --git a/src/content/docs/speed/optimization/images/mirage.mdx b/src/content/docs/speed/optimization/images/mirage.mdx index 5f87585681b6fc..c076a8f824f22c 100644 --- a/src/content/docs/speed/optimization/images/mirage.mdx +++ b/src/content/docs/speed/optimization/images/mirage.mdx @@ -51,7 +51,7 @@ Mirage will work with the following image formats: :::note If you send a Content Security Policy (CSP) header that restricts where scripts can be loaded, you will need to ensure `ajax.cloudflare.com` is enabled. For example, to allow scripts from your own domain and `ajax.cloudflare.com` enter the following: -`script-src 'self' ajax.cloudflare.com;` +`script-src 'self' ajax.cloudflare.com;` ::: To enable Mirage image optimization for your entire domain: diff --git a/src/content/docs/speed/optimization/other/signed-exchanges/enable-signed-exchange.mdx b/src/content/docs/speed/optimization/other/signed-exchanges/enable-signed-exchange.mdx index c74223da1ad133..9dbafb468ef1ef 100644 --- a/src/content/docs/speed/optimization/other/signed-exchanges/enable-signed-exchange.mdx +++ b/src/content/docs/speed/optimization/other/signed-exchanges/enable-signed-exchange.mdx @@ -22,7 +22,7 @@ Before enabling Cloudflare Automatic Signed Exchange, refer to the following req :::note -For SXGs to be enabled, a CAA record (Certification Authority Authorization) is required to allowlist the CA (Certificate Authority) permitted to issue Certificates for signing the Signed Exchange. Cloudflare will automatically add the corresponding CAA records in DNS on behalf of users after they enable SXGs. This is to ensure that SSL certificate issuance is not blocked. If you would like to obtain SSL certificates that are issued by other CAs, make sure that you manually add the required CAA records after enabling SXGs. +For SXGs to be enabled, a CAA record (Certification Authority Authorization) is required to allowlist the CA (Certificate Authority) permitted to issue Certificates for signing the Signed Exchange. Cloudflare will automatically add the corresponding CAA records in DNS on behalf of users after they enable SXGs. This is to ensure that SSL certificate issuance is not blocked. If you would like to obtain SSL certificates that are issued by other CAs, make sure that you manually add the required CAA records after enabling SXGs. ::: * Content needs to be cached for 120 seconds or longer, as Google checks this setting to generate an SXG. To ensure that content is cached for 120 seconds or more, go to the [Cloudflare dashboard](https://dash.cloudflare.com/) > select your account and domain > **Caching** > **Configuration** > **Browser Cache TTL** and check the period of time Cloudflare instructs a browser to cache files. diff --git a/src/content/docs/speed/optimization/other/signed-exchanges/signed-exchanges-caveats.mdx b/src/content/docs/speed/optimization/other/signed-exchanges/signed-exchanges-caveats.mdx index 2c4afb0a49f3d1..50166fdacc9299 100644 --- a/src/content/docs/speed/optimization/other/signed-exchanges/signed-exchanges-caveats.mdx +++ b/src/content/docs/speed/optimization/other/signed-exchanges/signed-exchanges-caveats.mdx @@ -70,5 +70,5 @@ The `cache-control` response header can have one of the following names: * `cloudflare-cdn-cache-control` * `surrogate-control` -For example, `cdn-cache-control=no-cache` would mean that a signed exchange is not created. +For example, `cdn-cache-control=no-cache` would mean that a signed exchange is not created. ::: From a617198d3ffbff3abb3eab3d726af0d57d781e55 Mon Sep 17 00:00:00 2001 From: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> Date: Mon, 24 Feb 2025 10:19:50 +0000 Subject: [PATCH 2/2] Additional work: Replace a few curly quotes with plain quotes --- src/content/docs/speed/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/speed/index.mdx b/src/content/docs/speed/index.mdx index ea5903674a8ac4..8631ba960aba2c 100644 --- a/src/content/docs/speed/index.mdx +++ b/src/content/docs/speed/index.mdx @@ -58,11 +58,11 @@ Understand the performance of your webpages as experienced by your site visitors -Transform images on Cloudflare’s edge platform: resize, adjust quality, and convert images to WebP or AVIF format on demand. +Transform images on Cloudflare's edge platform: resize, adjust quality, and convert images to WebP or AVIF format on demand. -Take advantage of “server think time” to asynchronously send instructions to the browser to begin loading resources while the origin server is compiling the full response. +Take advantage of "server think time" to asynchronously send instructions to the browser to begin loading resources while the origin server is compiling the full response. ***