phergie/phergie — pull request #243 by simensen (2012-12-19 19:50:42+00:00)
Title: Cache URL responses correctly.

I discovered that my links were not being replaced to me by Phergie. I thought it was a problem with my .io domain (http://sculpin.io) so I checked others (http://nelm.io, http://igor.io) and those failed as well. However, upon further checking and testing, I found that other URLs were not coming up either... turns out that it was more of a cache issue than anything. As long as anything was in cache, all other requests would show up as being "in cache" and ignored. As soon as the most recently added cache item fell out of cache a new URL would be able to be shown but until that cache expired nothing else could be added.

This looks to fix the cache issue. I've tested it out in one of my channels and it will take all URLs the first time and will not display them again until the cache expires.