<p>Currently, it will ignore them and will only invalidate according to any <a href="http://buildwithcraft.com/docs/templating/cache#parameters" rel="nofollow">explicit parameters</a> you've told it to.</p>

<p>However, I think it should take into account an entry's post and expiration date so I've added it to our todo list.</p>

CC BY-SA 3.0
2014-08-22T04:24:05.400Z
2014-08-22T04:24:05.400Z
Brad Bell
<p>How does the <code>{% cache %}</code> tag handle a situation where an entry reaches its post date or expires?</p>

<cache><postdate>
Cached entries and postDate / expirationDate
# Cached entries and postDate / expirationDate

(Asked by: username_0 on 2014-08-21)

How does the `{% cache %}` tag handle a situation where an entry reaches its post date or expires?

**Tags:** cache, postdate


---

## 1 answers

### Answer by username_1 on 2014-08-22. Score: 3 | Accepted answer

Currently, it will ignore them and will only invalidate according to any [explicit parameters](http://buildwithcraft.com/docs/templating/cache#parameters) you've told it to.

However, I think it should take into account an entry's post and expiration date so I've added it to our todo list.


---

