Simple cache helper for Sinatra