Comments (3)
@Tjitse-E , thank you for your question. This module is not a self-sufficient module, it is pease of code that works with different GeoIp databases and provides the functionality to define visitor country based on the IP (GeoLocation). If you want to get an answer I this module works with Varnish, the answer depends on how you will use it.
We use magefan/module-geoip in these our modules
both of these auto-switcher extensions compatible (work) with varnish.
Let us know if you have any other questions.
from module-geoip.
Hi @magefan.
We've created a auto country select module on top of Magefan GeoIP. I'll test in the coming weeks if it will work with Varnish.
Thanks for the module so far!
from module-geoip.
@Tjitse-E , We have checked the code of your module (vendic/magento2-geoip-country-preselect), and it will have an issue with Magento Page Cache and will not work properly with varnish. We recommend to use Magento 2 Auto Currency Switcher by Magefan. It already does what you trying to achieve, and works perfectly with Magento build in Page Cache and Varnish, it will allow you to save time and money.
from module-geoip.
Related Issues (7)
- Error in IpToCountryRepository.php : on too many /../../../../../var/magefan/geoip/GeoLite2-Country.mmdb HOT 2
- The IP database https://magefan.com/media/geoip/GeoLite2-Country.mmdb is outdated HOT 3
- Extension crashes Magento admin when Magento_AdminNotification is disabled HOT 2
- Fatal error addFielToFilter() HOT 4
- Magento 2.2.2 - Maxmind GeoIP WebService HOT 1
- getting memory error: Fatal error: Allowed memory size of 1073741824 bytes exhausted HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from module-geoip.