[openstreetmap/openstreetmap-website] Remove ineffective query cache disable initializer (#2637)

Andy Allan notifications at github.com
Wed Jun 3 09:20:42 UTC 2020


I don't know why the query cache was originally intended to be disabled, since the [original commit](0d8e4b4337e9b94b6a9ed85095005a779f69583c) doesn't give any reason or links to tickets.

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?

So this PR just removes the initializer.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2637

-- Commit Summary --

  * Remove ineffective query cache disable initializer

-- File Changes --

    D config/initializers/query_cache.rb (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2637.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2637.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2637
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200603/244c984a/attachment.htm>


More information about the rails-dev mailing list