Will the module work on Magento Cloud with Fastly?
Starting from version 1.7.0, the Geo IP Redirect extension works with Fastly cache, but requires a few changes in the configuration for that. Please, navigate to Advanced > System > Full Page Cache > Custom vcl snippet and setup the following settings:
Type: recv
priority: 100 (default)
vcl:
if (req.http.Cookie !~ "geoip_redirect_for_varnish"
&& req.url !~ "^/(pub/)?(media|static)/.*"
&& req.url !~ "/graphql"
&& !req.http.x-long-cache
&& req.http.X-Requested-With != "XMLHttpRequest"
) {
return (pass);
}
After that, please save the settings. These changes will automatically be pulled into the Fastly config.
Related Articles
How does the Geo IP Redirect module work with Cloudflare?
There is a known issue with using the Geo IP Redirect module with Cloudflare. It occurs due to the actual IP address of a customer being replaced by the proxy IP. To introduce compatibility between Cloudflare and the Geo IP Redirect module, follow ...
Is the Geo IP Redirect module compatible with Varnish?
Starting from version 1.7.0, the Geo IP Redirect extension does work with Varnish cache, but requires a few changes in the web server configuration for that. Please contact your hosting provider on this matter or follow the steps below. Step 1. Open ...
Will the module work on Magento x.x?
We provide compatibility of our modules with Magento versions in accordance with Magento lifecycle policy. This means that our QA team tests the behavior of the extensions with the latest released Magento versions and declares compatibility with ...
Will the module work with the Magento MSI functionality disabled?
Starting from version 2.1.2, the dependency on Magento MSI was removed from a basic build and moved to a separate module component. The extension works on single-source installations out of the box, and the compatibility with MSI is added with an ...
Does your extension work with Magento Cloud?
Our Google Page Speed Optimizer extension is fully compatible with Magento CE and EE edition, including Cloud instances. The only thing is that the image optimization functionality will be missing. The extension uses the 3rd party tools for ...