diff --git a/relay/application.py b/relay/application.py index ea65992..d463244 100644 --- a/relay/application.py +++ b/relay/application.py @@ -262,11 +262,11 @@ async def handle_response_headers(request: web.Request, handler: Coroutine) -> R resp = await handler(request) resp.headers['Server'] = 'ActivityRelay' - if not request.app['dev'] and request.path.endswith(('.css', '.js')): - resp.headers['Cache-Control'] = 'public,max-age=2628000,immutable' - - else: - resp.headers['Cache-Control'] = 'no-store' +# if not request.app['dev'] and request.path.endswith(('.css', '.js')): +# resp.headers['Cache-Control'] = 'public,max-age=2628000,immutable' +# +# else: +# resp.headers['Cache-Control'] = 'no-store' return resp