Caching is a big problem when it comes to returning automatically generated information. Geo Controller seeks to solve this problem and offer several solutions.
- First of all you need to Enable Caching – This option automatically allow other cache plugins to take control of your cache
- Another caching problem may arise if your cache plugin makes a snapshoot of your HTML and saves it in a separate file, avoiding the standard PHP protocols provided by WordPress.
Example with shortcode:
[cfgeo return="city" default="Your Default Text" cache]
Like you see, cache attribute is placed and it generates span tag with JavaScript trigger. After page is loaded, geo information will be replaced automatically.