How To Resolve Flickr RSS Caching Problems

by Russell on June 5, 2010 · 1 comment

in Flickr Tutorials

One of the most common issues with Slickr Flickr was to do with caching. You would update Flickr but it would take what seemed at age before those changes appeared in your Slickr Flickr gallery or slideshow on Wordpress. This was down to Wordpress caching the Flickr RSS feed. The cache could take up to 12 hours to expire which meant that it could be up to 12 hours before your Wordpress site reflected your latest photos, titles and descriptions.

Fortunately, since version 1.7, Slickr Flickr included a button on the Admin settings page which clears the RSS cache. This means that Wordpress can be updated with the changes on Flickr as soon as they are available via RSS.

Below is a demonstration that shows the caching problem and how to resolve it.

Flickr RSS Updates Are Not Instant

Please note, however, that the Flickr RSS feed is not updated the instant you add new photos or update title, tags and descriptions on Flickr. It seems Flickr updates its RSS feeds every 15 minutes or so. In other words, you may still have to wait a little while to access your Flickr updates but at least now it is only 15 minutes and not 12 hours!

You can check the Flickr RSS cache simply using your browser using the following URL where you replace yourFlickrId by your Flickr ID and yourtag by the tag you are using for your slideshow or gallery.


http://api.flickr.com/services/feeds/photos_public.gne?lang=en-us&format=rss_200&id=yourFlickrID&tags=yourtag

Don’t Update Your Cache If The Flickr RSS Feed is Still Out Of Date

If the link above which displays the Flickr RSS feed does not show your updates then there is no point in clearing the RSS cache. Only when the Flickr RSS feed is up to date then you should clear the cache.

Note that you do need to clear the RSS cache manually; the feature is not automatic. So, if your slideshow or gallery is out of date, then go to Slickr Flickr Admin Settings and click the Clear RSS cache button then refresh your page.

{ 1 comment… read it below or add one }

Angela June 8, 2010 at 9:00 pm

This helped.
Did you once post code that can inserted into the sidebar widget that will clear the cache automatically ? (I recall inserting this at some point during my sites development but now I can’t find it) I will not be taking care of the clients site or flickr account after development and it would be helpful to have everything “nailed down” without the client having to make any changes.

I am also curious when “How to get more than 20 photos in a slideshow” is coming. I have recently completed a project with a client and this was a specific request. They did not like seeing the same photos over and over again.

I do love the plugin, I can’t wait to see how it grows and gets even better.

Leave a Comment