Rails with unicorn showing 2 different version of same page
<p>I have a rails 4.1 app that is using nginx and unicorn.</p>

<p>Lets say I make a change to html of a page and push it live. If I navigate to that page or refresh it, I randomly get either the old page or the new updates.</p>

<p>This happens with assets as well. For example refreshing a page will get me either the old version of my css file or the newest version. Obviously this causes a ton of issues.</p>

<p>I am using the default asset pipeline.</p>

<p>I've tried running <code>rake:tmp:clear</code>. I've tried using <code>Rails.tmp.clear</code> from Rails production console. Neither have worked.</p>

<p>This is a really strange issue that I can't seem to get my head around.</p>