Rails 4 redirect links to ip address on Redis

177 Views Asked by At

I have an interesting problem. I use Russian-doll cache (cache_digests) on Rails 4 with Redis. After a period time, most of the links on pages change like this: "domain/url" to "server_ip/url"

It's fixed when I flush Redis.

How can I solve this problem?

0

There are 0 best solutions below