mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 18:35:55 +08:00
commit
f1f9e33e47
@ -167,7 +167,7 @@ class ApplicationController < ActionController::Base
|
||||
# Our custom cache method
|
||||
def discourse_expires_in(time_length)
|
||||
return unless can_cache_content?
|
||||
Middleware::AnonymousCache.anon_cache(request.env, 1.minute)
|
||||
Middleware::AnonymousCache.anon_cache(request.env, time_length)
|
||||
end
|
||||
|
||||
def fetch_user_from_params
|
||||
|
Loading…
x
Reference in New Issue
Block a user