Inconsistent Varnish Detection
-
Generally, this plugin works very well. However, I noticed an inconsistency in the Varnish detection.Error Message
Please make sure that your server has Varnish Cache
When It Occurs
The issue occurs when Cloudflare is active and I enter only:
127.0.0.1The plugin reports that Varnish is not detected. While same address without Port is accepted when CF proxy isn’t active.
Current Workaround for Cloudflare
It works correctly when I manually append the default Varnish port:
127.0.0.1:6081Expected Behavior
Ideally, the port should always be required for the Varnish server address, since the detection depends on the correct port.
A better UX would be to prefill the port with the default Varnish port (
6081) in case of Cloudflare/Without Cloudflare, so the field initially contains:127.0.0.1:6081The user could then change the port if their Varnish configuration uses a different one.
This would also prevent the detection from failing simply because the port was omitted.
Thank you.
You must be logged in to reply to this topic.