I use this code to retrieve some RSS feed:
$feed = 'http://www.example.com/rss';
$feed_to_array = (array) simplexml_load_file($feed);
This apparently caches the RSS feed, because i'm not getting new blog posts in. It works when I add a non existing variable to the url (like '?random=1234'). So there is a caching problem.
I searched stack overflow and the PHP docs, but I can't find the solution. Stuff like clearstatcache() doesn't work.
How do I prevent caching?