mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
DEV: Update cache lifetime in user_avatars spec (#19297)
Followup to badd64ceee5427e141a3cc6ebd6ae32ef8d5fe9a
This commit is contained in:
parent
badd64ceee
commit
f8aec41678
@ -124,7 +124,7 @@ RSpec.describe UserAvatarsController do
|
||||
|
||||
expect(response.status).to eq(302)
|
||||
expect(response.location).to eq("https://s3-cdn.example.com/optimized/path")
|
||||
expect(response.headers["Cache-Control"]).to eq('max-age=31556952, public, immutable')
|
||||
expect(response.headers["Cache-Control"]).to eq('max-age=3600, public, immutable')
|
||||
end
|
||||
|
||||
it 'serves new version for old urls' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user