Rails 5 Caching, where is it stored and how to clean it?
<p>I'm breaking my head over this. I can't a find a way to clear the production cache of a ROR5 app, other then restart <code>nginx</code>. If i change something (for example) in <strong>app/views/layouts/application.html</strong> then the changes are not reflected until i reload/restart the server.</p>

<p>I edited <strong>config/environments/production.rb</strong> and changed: </p>

<pre><code>config.action_controller.perform_caching = false
</code></pre>

<p>also tried to set</p>

<pre><code>config.cache_store = false
</code></pre>

<p>I guess, there are so many caching elements in  ROR i lost my way.</p>

<p>I would like to know the following:</p>

<ol>
<li>How (where) to disable cache in <strong>production</strong> mode?</li>
<li>Which part is responsible for <strong>view</strong> caching?</li>
<li>Where is the cache stored (cache_store? tmp/*)?</li>
<li>Is there anyway to <strong>force</strong> ROR to refresh its cache (while running)?</li>
</ol>

<p><em>On a site-note: I'm running the app on a Raspberry Pi, I need to fix a few things, and I push my changes direct via ftp to the box. I know this is not the best way to fix it, but restarting nginx takes some time. I know i could swap the box into development mode, but i don't want to do that right now.</em></p>

<p>Thanks!</p>