Cache EDD Currency from GeoIP with CloudFlare + Varnish 4

Aelia Currency Switcher for Easy Digital Downloads allows digital store owners to set different currencies based on customer geolocation. The MaxMind databases provide GeoIP services so you can detect your visitor’s location. Automatic currency detection based on country adds extra convenience to your store, however it can add extra loading time because PHP must be used to look up … Learn more…

Cache AJAX GET Requests with Cloudflare and Varnish

AJAX requests are typically used to provide dynamic content on WordPress sites and bypass cache. I have already shown how to Cache AJAX requests with Varnish to bypass PHP and MySQL for AJAX processing by storing the cache in Varnish. In my quest for maximum performance I also experimented with Cloudflare page caching for WordPress. This guide … Learn more…

Fix Empty Cart with WooCommerce Redirect to Checkout Varnish 4

Varnish speeds up tons of WooCommerce shops all over the web with its reverse proxy caching acceleration. Several hosting companies like. WPEngine, Cloudways and Flywheel use Varnish to deliver uber fast page load times for their users. One of the potential pitfalls with Varnish can be making it work with e-commerce shops like WooCommerce or Easy Digital Downloads. Typically this involves … Learn more…

Fix Varnish Mixed Content Errors + CloudFlare Flexible SSL + WordPress

Cloudflare Flexible SSL offers a free and simple way to add the HTTPS green lock to your WordPress site. There is a Flexible SSL plugin that will usually help resolve any problems like redirect loops. You may get broken CSS or mixed content errors when using Cloudflare’s Flexible SSL with Varnish. This guide should help … Learn more…