title: Has anybody ever stored an mp3 in a redis cache?
body: <p>I'm new to redis, and I think I have a good use case for redis.   What I'm trying to do is to cache an mp3 file for a short time.  These MP3s are >2M in side, but I'm also only talking maybe 5-10 stored any any moment in time.  The TTL on them would be fairly short too, minutes, not hours, etc.</p>
  
  <p>(disk persistence isn't an option).</p>
  
  <p>So, what I'm wondering, do I need to get fancy and Base64 out the mp3 to store it?  Or can I simply set keyvalue=bytearray[]?</p>
  
  <p>This redis hit will be from a web service, which in turn, gets it's data from a downstream service with disk hits.   So what I'm trying to do is to cache the mp3 file a short time on my middleware if you will.  I won't need to do it for every file, just the ones >2M so I don't have to keep going bak to the downstream servers and request the file from the disk again.</p>
  
  <p>Thanks!</p>
  
  <p>Nick</p>