Wordpress LScache Plugin: Weather Forecast
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello. I wonder what setting or what can be done wot prevent other users see location of the last visitors location/weather. ? e.g: If a person from Paris visits the next who visit from India will see that his location is Paris and not some city in india. Hi, if that weather is added like widget or shortcode , you can try make it to be ESI block which will be no-cache and show real-time data to visitors if ESI block is not option , you will need to enable GeoIP support on server-level , or put a CDN like QUIC cloud or CloudFlare that provides country code on header to do cache vary Best regards, Oh okey, uhm ive read the ESI documentation but i couldnt figure out how to make such with a shortcode. e.g [location-weather id= 123456 ] ? When i create a block/widget area and adding the ESI the ESI setting is just reverted back to the original Disabled cache ttl: 28800 i figure it outr i think This is correct use? [esi location-weather id=123456 cache=private ttl=10 ] Hi, yes , or change the part cache=private ttl=10 to ttl=0 to make it no-cache Best regards, Awesome Thank you very much! Have a great sunday
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference