Skip to content

Commit d4dabef

Browse files
[Support] Updates to navigation in support docs (#24957)
* Updates to navigation in support docs * Updates navigation
1 parent 979c2ec commit d4dabef

File tree

5 files changed

+47
-29
lines changed

5 files changed

+47
-29
lines changed

src/content/docs/cache/how-to/edge-browser-cache-ttl/set-browser-ttl.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar:
66

77
---
88

9+
import { DashButton } from "~/components";
10+
911
Specify a time for a visitor’s Browser Cache TTL to accelerate the page load for repeat visitors to your website. To configure cache duration within Cloudflare’s data centers, refer to [Edge Cache TTL](/cache/how-to/cache-rules/settings/#edge-ttl).
1012

1113
By default, Cloudflare honors the cache expiration set in your `Expires` and `Cache-Control` headers. Cloudflare overrides any `Cache-Control` or `Expires` headers with values set via the **Browser Cache TTL** option under **Caching** on your dashboard if:
@@ -27,8 +29,10 @@ If you modify cached assets, the new asset is not displayed to repeat visitors b
2729

2830
:::
2931

30-
1. Log in to your Cloudflare dashboard.
31-
2. Select **Caching**.
32-
3. Under **Browser Cache TTL**, select the drop-down menu to select the desired cache expiration time.
32+
1. In the Cloudflare dashboard, go to the **Caching** page.
33+
34+
<DashButton url="/?to=/:account/:zone/caching/configuration" />
35+
36+
2. Under **Browser Cache TTL**, select the desired cache expiration time from the drop-down menu.
3337

3438
The **Respect Existing Headers** option tells Cloudflare to honor the settings in the `Cache-Control` headers from your origin web server.

src/content/docs/support/third-party-software/content-management-system-cms/caching-html-with-drupal.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: Caching HTML with Drupal
55

66
---
77

8+
import { DashButton } from "~/components";
9+
810
## Overview
911

1012
:::note
@@ -20,27 +22,27 @@ You can [cache HTML of inactive users](https://blog.cloudflare.com/caching-anon
2022

2123
To avoid browser cache collisions, you must first enable Bypass Cache on Cookie in the Cloudflare dashboard. To do this,
2224

23-
1\. Log in to your Cloudflare account.
25+
1. In the Cloudflare dashboard, go to the **Caching** page.
2426

25-
2\. Click on the **Caching** app.
27+
<DashButton url="/?to=/:account/:zone/caching/configuration" />
2628

27-
3\. Scroll down to **Browser Cache TTL** and choose **Respect Existing Headers**.
29+
2. Under **Browser Cache TTL**, choose **Respect Existing Headers**.
2830

29-
Now, you can configure the *Bypass Cache on Cookie* setting using Cloudflare **Page Rules**
31+
Now, you can configure the *Bypass Cache on Cookie* setting using Cloudflare **Cache Rules**
3032

3133
***
3234

3335
## Set Bypass Cache on Cookie
3436

35-
When the *Bypass Cache on Cookie* page rule matches the criteria we set, Cloudflare will cache static images and other files, without caching HTML. To configure *Bypass Cache on Cookie* using **Page Rules**
37+
When the *Bypass Cache on Cookie* page rule matches the criteria we set, Cloudflare will cache static images and other files, without caching HTML. To configure *Bypass Cache on Cookie* using **Cache Rules**
3638

37-
1\. Log in to your Cloudflare account.
39+
1. In the Cloudflare dashboard, go to the **Rules** page.
3840

39-
2\. Go to **Rules > Page Rules**.
41+
<DashButton url="/?to=/:account/:zone/rules/page-rules" />
4042

41-
3\. Click the **Create Page Rule** button and enter your domain. In the example below, the domain is [www.orangeclouded.com](http://www.orangeclouded.com)
43+
2. Select **Create Page Rule** button and enter your domain. In the example below, the domain is [www.orangeclouded.com](http://www.orangeclouded.com)
4244

43-
4\. Configure the Page Rules settings as follows:
45+
3. Configure the Page Rules settings as follows:
4446

4547
* use the *\** wildcard operator on the Drupal installation path to match the entire domain
4648
* set the Cache Level to Cache Everything

src/content/docs/support/third-party-software/content-management-system-cms/caching-static-html-with-wordpresswoocommerce.mdx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: Caching Static HTML with WordPress/WooCommerce
55

66
---
77

8+
import { DashButton } from "~/components";
9+
810
## Overview
911

1012
:::note
@@ -22,21 +24,23 @@ Enterprise Cloudflare customers can use *Custom Cache Keys* to take their perf
2224

2325
Before starting - be sure that Cloudflare is set to respect `Cache-Control` headers from your origin web server; otherwise, you may find `Cache-Control` headers are overridden by Cloudflare with the value set in the **Browser Cache TTL** option. To set the **Respect Existing Headers** option:
2426

25-
1. Log into your Cloudflare account.
26-
2. Click the **Caching** app.
27-
3. Scroll down to **Browser Cache TTL**, and select the **Respect Existing Headers** value.
27+
1. In the Cloudflare dashboard, go to the **Caching** page.
28+
29+
<DashButton url="/?to=/:account/:zone/caching/configuration" />
30+
31+
2. Under **Browser Cache TTL**, select the **Respect Existing Headers** value.
2832

2933
***
3034

3135
## Cache Static HTML with Cloudflare Cache Rules
3236

33-
1\. Log in to your Cloudflare account.
34-
35-
2\. Go to **Rules >** **Overview** and select **Create Cache Rule**.
37+
1. In the Cloudflare dashboard, go to the **Caching** page.
3638

37-
3\. Set the cache rule to match your WordPress installation path. If your site is at [https://www.example.com](https://www.example.com), the rule would be [https://www.example.com](https://www.example.com/).
39+
<DashButton url="/?to=/:account/:zone/caching/cache-rules" />
3840

39-
4\. Select the appropriate settings to cache static HTML:
41+
2. Select **Create rule**.
42+
3. Set the cache rule to match your WordPress installation path. If your site is at [https://www.example.com](https://www.example.com), the rule would be [https://www.example.com](https://www.example.com/).
43+
4. Select the appropriate settings to cache static HTML:
4044

4145
* *Eligible for cache* instructs Cloudflare to cache static HTML.
4246
* When the *Bypass Cache on Cookie* rule matches the criteria you set, Cloudflare won't cache HTML ([though static images and other files will still be cached](/cache/concepts/default-cache-behavior/)). Depending on whether you're using raw WordPress, or WooCommerce, you should use one of the configurations below:
@@ -54,6 +58,6 @@ Before starting - be sure that Cloudflare is set to respect `Cache-Control` he
5458

5559
* Finally, setting *Edge Cache TTL* will define the maximum period of time Cloudflare should keep cached files before getting them back from the origin web server. Even after setting a long Edge Cache TTL time, you can still [manually clear the cache](https://support.cloudflare.com/hc/en-us/articles/200169246-How-do-I-purge-my-cache-) or use our WordPress plugin to automatically manage cache purging.
5660

57-
5\. Click **Save and Deploy** to finish. 
61+
5. Select **Save and Deploy**.
5862

5963
Additionally, by using the [*Automatic Cache Management* feature of the Cloudflare WordPress plugin](https://support.cloudflare.com/hc/en-us/articles/115002708027-What-does-Automatic-Cache-Management-in-the-Cloudflare-Plugin-do-), you are able to automatically purge the cache for your site after your site changes (i.e. changing/customizing your theme or editing, deleting or creating a post, attachment or page).

src/content/docs/support/third-party-software/e-commerce/caching-static-html-with-magento-business-and-enterprise-only.mdx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: Caching Static HTML with Magento (Business and Enterprise only)
55

66
---
77

8+
import { DashButton } from "~/components";
9+
810
## Overview
911

1012
:::note
@@ -22,17 +24,19 @@ Before logging in to the Magento admin panel or adding something to a shopping c
2224

2325
To cache static HTML using Cloudflare Page Rules:
2426

25-
1\. Log in to your Cloudflare account.
27+
1. In the Cloudflare dashboard, go to the **Caching** page.
2628

27-
2\. Click on the **Caching** app. 
29+
<DashButton url="/?to=/:account/:zone/caching/configuration" />
2830

29-
3\. Scroll down to **Browser Cache TTL** option and choose **Respect Existing Headers**.
31+
2. Under **Browser Cache TTL**, choose **Respect Existing Headers**.
3032

3133
With this setting in place, you can set the necessary Page Rules to cache anonymize page visits.
3234

33-
4\. Go to **Rules >** **Page Rules**.
35+
3. In the Cloudflare dashboard, go to the **Rules** page.
36+
37+
<DashButton url="/?to=/:account/:zone/rules/page-rules" />
3438

35-
5\. Click the **Create Page Rule** button and enter your domain. In the example below, the domain is `www.orangeclouded.com`.
39+
4. Select **Create Page Rule** and enter your domain. In the example below, the domain is `www.orangeclouded.com`.
3640

3741
* *Cache Everything* will instruct Cloudflare to cache static HTML.
3842
* When the *Bypass Cache on Cookie* rule matches the criteria we set, Cloudflare won't cache HTML ([though static images and other files will still be cached](/cache/concepts/default-cache-behavior/)). Depending on whether you're using Magento 1 or Magento 2, you will need a different rule:
@@ -43,7 +47,7 @@ With this setting in place, you can set the necessary Page Rules to cache anonym
4347

4448
![The Create a Page Rule dialog with settings to instruct Cloudflare to cache static HTML, the Bypass Cache on cookie rule instructing Cloudflare not to cache HTML while static images and other files are still cached, and the Edge Cache TTL set to a month.](~/assets/images/support/hc-import-page_rules_caching_static_html_with_magento.png)
4549

46-
6\. Click **Save and Deploy**.
50+
5. Select **Save and Deploy**.
4751

4852
:::note
4953

src/content/docs/support/third-party-software/others/configure-cloudflare-and-heroku-over-https.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source: https://support.cloudflare.com/hc/en-us/articles/205893698-Configure-Clo
44
title: Configure Cloudflare and Heroku over HTTPS
55
---
66

7-
import { Example } from "~/components";
7+
import { Example, DashButton } from "~/components";
88

99
## Overview
1010

@@ -26,7 +26,11 @@ Below, you will need to add DNS records for a subdomain and the apex domain (als
2626

2727
### Step 2a - Add a subdomain
2828

29-
To start, log in to your Cloudflare account, navigate to the **DNS** app and add a 'www' *CNAME* record that points to the custom domain (also known as *DNS target*) that you obtained in Step 1 above for your subdomain.
29+
In the Cloudflare dashboard, go to the **DNS** page.
30+
31+
<DashButton url="/?to=/:account/:zone/dns" />
32+
33+
Add a 'www' *CNAME* record that points to the custom domain (also known as *DNS target*) that you obtained in Step 1 above for your subdomain.
3034

3135
<Example>
3236

0 commit comments

Comments
 (0)