Closed
Bug 731756
Opened 13 years ago
Closed 13 years ago
Cache malfunctioning in reps.mozilla.org
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pierros, Assigned: jd)
References
()
Details
reps.mozilla.org seems to have issues with cache, as although people do change their profiles, some others cannot still see the changes.
Also we have login issues from some parts of the world (LATAM as of now)
Thanks!
Assignee | ||
Updated•13 years ago
|
Assignee: server-ops → jcrowe
Assignee | ||
Comment 1•13 years ago
|
||
I think I got this fixed. I worked with giorgos to come up with a solution. Basically we have set the expires header to 0 (load balancers will not cache) for these:
<LocationMatch "/u/[A-Za-z0-9_]+/edit/">
<LocationMatch "/featured/edit/[\d]+/">
I tested one user edit page and now get the Cache-Control header with a max-age=0 (Before it was that Dec 1970 or whatever (means it will never expire))
Anyhow I am going to assume this is fixed as I can no longer reproduce the issue.
Feel free to reopen this bug if the problem is not fixed or if there are additional URLs that need to be included in the regex.
Regards
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 2•13 years ago
|
||
Jason,
We still have a problem on other pages. With the current rules users can change profiles but when they visit the map or their profile listing still get the old values. I suggest that we broaden the no-cache rule to all
/people/*
/u/*
/featured/*
urls.
Thanks
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 3•13 years ago
|
||
Giorgos,
I changed the location match regex to '/(u|people|featured)/'. I tested /people/ and the header is set correctly.
Let me know if this does not work as you expected.
Regards
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•