I've made a module that needs to cache its output by country, or not at all. I've found this post which describes how to do it with a component, but how would you do it with modules?
To turn off cache completely, I've copied the relevant fields from XML config from mod_custom, set cache to off, and global cache to conservative. Still it caches.
Any tips welcome.
Edit: It seems a module is always cached when it's included within an article: https://forum.joomla.org/viewtopic.php?t=527208