I have a view that is time-based cached.
One of the options on the exposed form is a 'near me now', which sorts the results by distance and displays mileage.
The users location is provided by the IPM&V Module, and works fine with the view cache turned off.
The problem is that with cache-view turned on, sorting by near me now continues to display the results based on previous requests. The view is 'cached' and not using the current users location.
I could simply turn views caching off, but hate losing the extra speed.
Is there a way (a hook or function) that tells views to 'refresh/clear cache' if certain conditions are met? Ie, if user selects 'near me now' do not cache.
I looked at a combination of rules/cache action, but couldn't get it to work on a specific filter input.
Any ideas appreciated.