Skip to content

Commit 9eed62c

Browse files
committed
readability improved for improving-varnish-cache-hit.rate
1 parent 73f1e4f commit 9eed62c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/hypernode-platform/tools/improving-varnish-cache-hit.rate.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,18 @@ curl -I https://www.example.com/ \
7171
```
7272

7373
### What to look for
74-
75-
- **Age** header increasing → cached response
76-
- **X-Cache: HIT** → served from Varnish
77-
- **Cache-Control** headers that allow caching
78-
- Absence of **Set-Cookie** for cacheable pages
74+
- **Age** header increasing → cached response.
75+
- **X-Cache: HIT** → served from Varnish.
76+
- **Cache-Control** → verifies cacheability.
77+
- No **Set-Cookie** header → indicates a cacheable page.
7978

8079
---
8180

8281
## Checking Cache Statistics on Your Hypernode
8382

8483
### Snapshot of hits and misses
8584

86-
Untested example (single run):
85+
single run (untested):
8786

8887
```bash
8988
varnishstat -1 -f MAIN.cache_hit,MAIN.cache_miss,MAIN.backend_req
@@ -101,7 +100,7 @@ This helps identify which URLs are effectively cached and which are not.
101100

102101
## Handling Marketing and Tracking URL Parameters
103102

104-
Marketing parameters such as `utm_source`, `utm_medium`, or `gclid` can dramatically increase the number of unique cache entries.
103+
Marketing (query) parameters such as `utm_source`, `utm_medium`, or `gclid` can dramatically increase the number of unique cache entries.
105104
Each parameter variation creates a new cache object, lowering your overall hit rate.
106105

107106
### Best practice

0 commit comments

Comments
 (0)