Update cache.rb

more debug code