Skip to content

Commit a8d3b61

Browse files
committed
Updates navigation
1 parent 0c74128 commit a8d3b61

File tree

5 files changed

+54
-27
lines changed

5 files changed

+54
-27
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](https://dash.cloudflare.com), and select your account and domain.
31-
2. Go to **Caching** > **Configuration**.
32-
3. Under **Browser Cache TTL**, select the desired cache expiration time from the drop-down menu.
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: 13 additions & 7 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,9 +22,11 @@ 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 dashboard](https://dash.cloudflare.com), and select your account and domain.
24-
2. Go to **Caching** > **Configuration**.
25-
3. Under **Browser Cache TTL**, choose **Respect Existing Headers**.
25+
1. In the Cloudflare dashboard, go to the **Caching** page.
26+
27+
<DashButton url="/?to=/:account/:zone/caching/configuration" />
28+
29+
2. Under **Browser Cache TTL**, choose **Respect Existing Headers**.
2630

2731
Now, you can configure the *Bypass Cache on Cookie* setting using Cloudflare **Cache Rules**
2832

@@ -32,11 +36,13 @@ Now, you can configure the *Bypass Cache on Cookie* setting using Cloudflare 
3236

3337
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**
3438

35-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com), and select your account and domain.
36-
2. Go to **Rules > Page Rules**.
37-
3. Select **Create Page Rule** button and enter your domain. In the example below, the domain is [www.orangeclouded.com](http://www.orangeclouded.com)
39+
1. In the Cloudflare dashboard, go to the **Rules** page.
40+
41+
<DashButton url="/?to=/:account/:zone/rules/page-rules" />
42+
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)
3844

39-
4. Configure the Page Rules settings as follows:
45+
3. Configure the Page Rules settings as follows:
4046

4147
* use the *\** wildcard operator on the Drupal installation path to match the entire domain
4248
* 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: 15 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,19 +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 in to your [Cloudflare dashboard](https://dash.cloudflare.com), and select your account and domain.
26-
2. Go to **Caching** > **Configuration**.
27-
3. Under **Browser Cache TTL**, 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 dashboard](https://dash.cloudflare.com), and select your account and domain.
34-
2. Go to **Caching** > **Cache Rules**.
35-
3. Select **Create rule**.
36-
4. 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/).
37-
5. Select the appropriate settings to cache static HTML:
37+
1. In the Cloudflare dashboard, go to the **Caching** page.
38+
39+
<DashButton url="/?to=/:account/:zone/caching/cache-rules" />
40+
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:
3844

3945
* *Eligible for cache* instructs Cloudflare to cache static HTML.
4046
* 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:
@@ -52,6 +58,6 @@ Before starting - be sure that Cloudflare is set to respect `Cache-Control` he
5258

5359
* 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.
5460

55-
6. Select **Save and Deploy**.
61+
5. Select **Save and Deploy**.
5662

5763
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: 13 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,14 +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 dashboard](https://dash.cloudflare.com), and select your account and domain.
26-
2. Go to **Caching** > **Configuration**.
27-
3. Under **Browser Cache TTL**, choose **Respect Existing Headers**.
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**, choose **Respect Existing Headers**.
2832

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

31-
4. Go to **Rules >** **Page Rules**.
32-
5. Select **Create Page Rule** and enter your domain. In the example below, the domain is `www.orangeclouded.com`.
35+
3. In the Cloudflare dashboard, go to the **Rules** page.
36+
37+
<DashButton url="/?to=/:account/:zone/rules/page-rules" />
38+
39+
4. Select **Create Page Rule** and enter your domain. In the example below, the domain is `www.orangeclouded.com`.
3340

3441
* *Cache Everything* will instruct Cloudflare to cache static HTML.
3542
* 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:
@@ -40,7 +47,7 @@ With this setting in place, you can set the necessary Page Rules to cache anonym
4047

4148
![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)
4249

43-
6. Select **Save and Deploy**.
50+
5. Select **Save and Deploy**.
4451

4552
:::note
4653

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 dashboard](https://dash.cloudflare.com), and select your account and domain., 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)