<p>I don't know why the query cache was originally intended to be disabled, since the <a href="0d8e4b4337e9b94b6a9ed85095005a779f69583c">original commit</a> doesn't give any reason or links to tickets.</p>
<p>However, this initializer seems to be ineffective, since queries are being successfully cached on my local machine, and as far as I can tell, there's no middleware with that name any longer. Perhaps this is all just historical stuff?</p>
<p>So this PR just removes the initializer.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2637'>https://github.com/openstreetmap/openstreetmap-website/pull/2637</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Remove ineffective query cache disable initializer</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>D</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2637/files#diff-950463b2c18eb0bc7c9ab92a44ec9389">config/initializers/query_cache.rb</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2637.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2637.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2637.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2637.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2637">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNE5JT7ZHNH6AET2XLRUYIWVANCNFSM4NRPO5RA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLP7WJVOWUVRBWDZF7DRUYIWVA5CNFSM4NRPO5RKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JMKRSAA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2637",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2637",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>