Title: Inconsistent Varnish Detection
Last modified: August 26, 2026

---

# Inconsistent Varnish Detection

 *  [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/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:
 *     ```wp-block-code
       127.0.0.1
       ```
   
 * The 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:
 *     ```wp-block-code
       127.0.0.1:6081
       ```
   
 * Expected 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:
 *     ```wp-block-code
       127.0.0.1:6081
       ```
   
 * The 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.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/inconsistent-varnish-detection/#post-19003377)
 * Thank you so much.
 * What you said is very true in this example, but generally, Varnish cache doesn’t
   require port information. You’ve found a very good solution.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finconsistent-varnish-detection%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [1 week, 2 days ago](https://wordpress.org/support/topic/inconsistent-varnish-detection/#post-19003377)
 * Status: not resolved