View with "current time offset"-filter caches too long

by Hudri   Last Updated January 08, 2018 09:07 AM

I've got a view for promoting some of my nodes with a "current time offset"-based date filter like field_date1 <= now and field_date2 >= now.
The block display of this view is embedded on a node using Paragraphs and Views Reference Field Module.
View caching is set to "tag based".

The view basically works, but when showing the view on the node on frontend, the caching doesn't work, the date based filter doesn't expire the cache. Editing/saving nodes does update the view though.

Is it possible at all to cache a view with offset based, date-dependent fields used for filtering like above? If yes, which of my settings are wrong?

Tags : views 8


Related Questions


Alter the moderation state in the Content view Drupal 8

Updated February 28, 2018 21:07 PM


Group items in Views by value in Field Collection

Updated July 20, 2015 13:03 PM

List of referenced entities appended to a node

Updated January 12, 2017 08:03 AM