Skip to content

Commit 0baa333

Browse files
committed
Added missing header.
1 parent 83fe382 commit 0baa333

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,12 @@ To:
8686

8787
`set $rocket_debug 1;`
8888

89-
This will add the following headers to your response request:
89+
The following header is present no matter if debug is set to 0 or 1:
9090
* **X-Rocket-Nginx-Bypass**: Did the configuration served the cached file directly (did it bypass WordPress): Yes or No.
91-
* **X-Rocket-Nginx-Reason**: If "No", what is the reason for calling WordPress. If "Yes", what is the file used.
91+
92+
This will add the following headers to your response request:
93+
* **X-Rocket-Nginx-Reason**: If Bypass is set to "No", what is the reason for calling WordPress. If "Yes", what is the file used (URL).
94+
* **X-Rocket-Nginx-File**: If "Yes", what is the file used (path on disk).
9295

9396

9497
Reasons for not serving a cached file:

0 commit comments

Comments
 (0)