@AntonKhorev commented on this pull request.


> @@ -0,0 +1,10 @@
+class SharesController < ApplicationController
+  before_action :authorize_web
+  before_action :set_locale
+  authorize_resource :class => false
+
+  def show
+    expires_in 7.days, :public => true

This caching is what I wanted to remove from map key, once it's loaded on 
demand. There was an issue somewhere about map key being outdated, but I can't 
find it.

I don't see a good reason why this caching should be replicated instead.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6106#pullrequestreview-2931379972
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6106/review/2931379...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to