Skip to content

Commit e2c0c95

Browse files
committed
Code block lexer of http does not work, use text instead
1 parent c7a4d69 commit e2c0c95

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/deployment/caching/enable.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Even though cache support is available in Plone, it is **not enabled by default*
1919
It is highly recommended to configure caching for every new Plone site in production.
2020

2121

22+
(enable-caching-label)=
23+
2224
## Enable caching
2325

2426
Enabling of caching is currently only supported in the Classic UI.

docs/deployment/caching/rulesets-and-caching-operations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Only use this operation for stable resources that never change without changing
7575

7676
In the caching profiles `without-caching-proxy` and `with-caching-proxy`, this operation is mapped to the rulesets `plone.resource` and `plone.stableResource`, which causes the following headers to be added to the response:
7777

78-
```http
78+
```text
7979
Last-Modified: <last-modified-date>
8080
Cache-Control: max-age=<seconds>, proxy-revalidate, public
8181
```
@@ -97,14 +97,14 @@ In the caching profile `with-caching-proxy`, this operation is mapped to the rul
9797

9898
#### `plone.content.feed`
9999

100-
```http
100+
```text
101101
ETag: <etag-value>
102102
Cache-Control: max-age=0, s-maxage=<seconds>, must-revalidate
103103
```
104104

105105
#### `plone.content.file`
106106

107-
```http
107+
```text
108108
Last-Modified: <last-modified-date>
109109
Cache-Control: max-age=0, s-maxage=<seconds>, must-revalidate
110110
```
@@ -120,14 +120,14 @@ In the caching profile `without-caching-proxy`, this operation is mapped to the
120120

121121
#### `plone.content.itemView`, `plone.content.folderView`, `plone.content.feed`
122122

123-
```http
123+
```text
124124
ETag: <etag-value>
125125
Cache-Control: max-age=0, must-revalidate, private
126126
```
127127

128128
### plone.content.file
129129

130-
```http
130+
```text
131131
Last-Modified: <last-modified-date>
132132
Cache-Control: max-age=0, must-revalidate, private
133133
```

0 commit comments

Comments
 (0)