You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hypernode-platform/varnish/improving-varnish-hit-rate-on-hypernode.md
+39-19Lines changed: 39 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
myst:
3
3
html_meta:
4
-
description: Learn how to improve your Varnish cache hit rate on Hypernode by identifying automatic cache purges, analyzing hit/miss patterns, and optimizing URL normalization to boost performance and efficiency.
4
+
description: Learn how to improve your Varnish cache hit rate on Hypernode by identifying automatic cache purges, analyzing hit/miss patterns, and optimizing URL normalization to boost performance and efficiency.
5
5
title: Improving Varnish Cache Hit Rate on Hypernode
6
6
---
7
7
@@ -17,13 +17,15 @@ This guide takes you step-by-step from verifying that your cache is active to di
17
17
## Before You Begin
18
18
19
19
Typical cache hit rates:
20
-
-**Below 10%** → Cache is barely reused
21
-
-**30–70%** → Improvement possible (depends on shop type and traffic patterns)
22
-
-**Above 80%** → Generally healthy for most shops
20
+
21
+
-**Below 10%** → Cache is barely reused
22
+
-**30–70%** → Improvement possible (depends on shop type and traffic patterns)
23
+
-**Above 80%** → Generally healthy for most shops
23
24
24
25
Keep in mind:
25
-
- Staging environments typically have low hit rates
26
-
- B2B webshops often have lower hit rates due to personalization
26
+
27
+
- Staging environments typically have low hit rates
28
+
- B2B webshops often have lower hit rates due to personalization
27
29
- Recently flushed caches temporarily reduce hit rates until the cache warms up
28
30
29
31
Cache hit rate should always be evaluated in context. Traffic volume, personalization, and recent deployments directly affect cache reuse.
@@ -32,11 +34,11 @@ Cache hit rate should always be evaluated in context. Traffic volume, personaliz
32
34
33
35
A low hit rate does not always indicate a problem. It is normal when:
34
36
35
-
- Traffic volume is low
36
-
- The cache was recently flushed
37
-
- Most visitors are logged in
38
-
- The shop uses heavy personalization
39
-
- You are working in a staging environment
37
+
- Traffic volume is low
38
+
- The cache was recently flushed
39
+
- Most visitors are logged in
40
+
- The shop uses heavy personalization
41
+
- You are working in a staging environment
40
42
41
43
Investigate further only if traffic is stable, the cache is warmed up, and the hit rate remains consistently low.
42
44
@@ -46,7 +48,8 @@ Ensure Varnish is properly enabled on your vhost and configured in your
46
48
application (e.g. Magento 2).
47
49
48
50
For Magento 2, verify:
49
-
- That Varnish is enabled on the vhost
51
+
52
+
- That Varnish is enabled on the vhost
50
53
- Varnish is selected as the caching application
51
54
- The correct VCL is generated and loaded
52
55
- Full Page Cache (FPC) is enabled
@@ -60,10 +63,13 @@ Tip: The [elgentos/magento2-varnish-extended](https://github.com/elgentos/magent
60
63
## Step 2 — Check if Pages Are Being Cached
61
64
62
65
Using `varnishncsa` from the CLI to see in real time which pages are cached and which are not:
0 commit comments