Please Don't Waste Other People's Bandwidth
This is just a quick note to everyone out there who’s using FeedTools. If you don’t enable some sort of caching mechanism, you are inevitably wasting other people’s bandwidth, and by extension, their money. Please be courteous and enable caching. It’s not hard to do so, just run this prior to using any other FeedTools functionality:
1 2 3 |
require 'feed_tools' FeedTools.configurations[:feed_cache] = "FeedTools::DatabaseFeedCache" |
For Rails users, that line should go in environment.rb.
And you’ll need to either run the SQL table creation code in FeedTools’ db folder or if you’re a Rails user, you’ll need to use the supplied migration file (also in the db folder) and update your database.
If you need to, it is also possible to create your own caching mechanisms for use with FeedTools.
In any case, the point is, you should never, ever use FeedTools in a production capacity without first enabling a caching mechanism. It’s just impolite.
Leave a Response