Right now whenever we set the Entry Date for an entry as sometime in the future it will not be accessible in any way until that time and, after the time of the Entry Date has passed, one can navigate directly to the URL. The issue is that the entry does not appear in any other fashion on the site. There are multiple feeds that show the latest set of entries which do not display the the new entry correctly if it’s Entry Date was initially set to the future.
If any of the following are done the entry becomes visible/accessible in the feeds:
* The entry is republished with or without changes made
* The cache is cleared
* The template that contains the feed is edited and saved
Here’s an example of the entries tag:
{exp:channel:entries
channel="stories"
sticky="no"
status="open|featured"
limit="10"
disable="categories|member_data|category_fields"
cache="no"
dynamic="no"}
I’ve tried it with and without cache enabled for a few different amounts of time (it was initially set with refresh=”700”, I tried 1, 5, 10, and waiting overnight) and made sure that it’s not wrapped in any other sort of cache. I haven’t found any settings that need to be fiddled with in order for future posts to work, but I could be missing something. The only thing close is under Global Channel Preferences there is an option to “Clear all caches when new entries are posted”, which would solve this, but seeing as the entry is technically already published it doesn’t clear the cache again when the entry hits its future time. The site is running on v2.10.1
Thanks in advance for any help!
Seeing as they do display after cache is clear i assume you are using: show future entries: https://docs.expressionengine.com/latest/channel/channel_entries.html#show-future-entries
In all honesty this does sound like a cache issue - be it server based or browser based (headers unchanged so browser does not reload page)…
Although the cache might be cleared for that specific tag, is it wrapper in any others that might be caching it? What type of cache are you using - is the server offering more advanced cache options which is handling this for you as such?
However, my bet is browser cache! browsers are desperate for speed, at the bain of us!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.