Title: Varnish HTTP/HTTPS
Last modified: February 10, 2024

---

# Varnish HTTP/HTTPS

 *  Resolved [smgdarien](https://wordpress.org/support/users/smgdarien/)
 * (@smgdarien)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/varnish-http-https/)
 * Getting timeout issues with varnish trying on https, failing and retrying on 
   http (which works)
 * How can I set the default port to http so the delay isn’t caused waiting for 
   the https timeout
 * Local host/default varnish port is being used

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/varnish-http-https/#post-17417949)
 * Hi,
   Thank would be your Varnish setup. You can set it up on HTTP but the site
   should be on HTTPS. This has nothing to do with this plugin. Beside when using
   CDN level page cache, Varnish is really overkill and you don’t need it.
 *  Thread Starter [smgdarien](https://wordpress.org/support/users/smgdarien/)
 * (@smgdarien)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/varnish-http-https/#post-17417975)
 * It’s a nice fallback cache
 * When using another varnish plugin (proxy cache) it works like a charm. So I just
   assumed it was this plugin having issues as the debug log shows only Super Cache
   trying to purge via HTTPS, failing and retrying on HTTP, and working. It essentially
   is just causing a lag when waiting for the HTTPS timeout
 * Again works totally fine when configured in a another plugin using the same settings
   on HTTP
 * I’ll stick with proxy cache for now, but if a workaround is found in your plugin
   not to cause the long delay when waiting for the varnish timeout to retry using
   HTTP let me know
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/varnish-http-https/#post-17417991)
 * That’s great 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Varnish HTTP/HTTPS’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/varnish-http-https/#post-17417991)
 * Status: resolved