<p>The 3rd parameter passed into <a href="http://buildwithcraft.com/classreference/services/FeedsService#getFeedItems-detail" rel="nofollow">getFeedItems</a> is for an offset, not caching.  The caching parameter is in the 4th place and accepts any valid <a href="http://php.net/manual/en/datetime.formats.time.php" rel="nofollow">PHP time format</a>.</p>

CC BY-SA 3.0
2014-11-24T21:53:19.517Z
2014-11-24T21:53:19.517Z
Brad Bell
<p>I am pulling in a feed I know that has two items. When I add caching to craft.feeds.getFeedItems(feedurl, limit, cache) the first items is not pulled in.  However if I remove caching or add "0" that item is pulled in. Would this have something to do with the feed or craft?</p>

<rss><feed>
RSS caching removes items from feed
# RSS caching removes items from feed

(Asked by: username_0 on 2014-11-24)

I am pulling in a feed I know that has two items. When I add caching to craft.feeds.getFeedItems(feedurl, limit, cache) the first items is not pulled in. However if I remove caching or add "0" that item is pulled in. Would this have something to do with the feed or craft?

**Tags:** rss, feed


---

## 1 answers

### Answer by username_1 on 2014-11-24. Score: 2 | Accepted answer

The 3rd parameter passed into [getFeedItems](http://buildwithcraft.com/classreference/services/FeedsService#getFeedItems-detail) is for an offset, not caching. The caching parameter is in the 4th place and accepts any valid [PHP time format](http://php.net/manual/en/datetime.formats.time.php).


---

