I am using aws elasticache for caching some files using redis. I am able to connect to the cache and see the keys using keys *
. However when I try the following
input_text = Rails.cache.fetch("#{input_data_file_name}") do
some code fetching file from s3
end
it always results in a cache miss even though the key is present. This started happening 3 days ago (no change in code). Any help on how to debug this is appreciated.