@tomhughes commented on this pull request.
> before_action :authorize_web
before_action :set_locale
authorize_resource :class => false
def show
- expires_in 7.days, :public => true
I don't think this was particularly because of re-requests from a single
session, it was just that it was something that shouldn't be changing much so
there was no reason not to cache it. It came in from
817434a2e6f1510bf805e35f0c879b005ebe11dd originally.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6113#pullrequestreview-2936466477
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6113/review/2936466...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev