Caching problem with Rails and Nginx

December 19, 2014 1.2k views

Hi, I'm experiencing some unusual caching with Nginx.

I'll fully clear my browser cache, then visit my page. If I press F5 to refresh the page, I get random old cached values of the site.

For example, I'll write some content/scripts, go to refresh, and if I toggle F5 I don't always get the newest version. Continuing to press F5 seems to toggle between edits randomly.

Does anyone have a tutorial or some advice on how to fix this? Thank you!

Be the first one to answer this question.