[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[savannah-help-public] [sr #109257] cgit sometimes serves a stale page f
From: |
Benno Schulenberg |
Subject: |
[savannah-help-public] [sr #109257] cgit sometimes serves a stale page for five minutes |
Date: |
Tue, 14 Feb 2017 11:15:45 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0 |
Follow-up Comment #2, sr #109257 (project administration):
Yes, server-side caching is good -- I wasn't suggesting to disable caching.
But it becomes a problem when I look at one page, upstream does a push, I look
at another page of the same repo, which has the new content, I go back to the
earlier page, but it still shows the old situation. This is puzzling and
confusing.
What would be nice to have is: that cgit invalidates the cache for a certain
repo whenever something is pushed to that repo. This may be too hard to make,
though, I don't know.
An alternative might be that whenever cgit receives a request for a page, it
checks whether there has been a push to the relevant repo since the page was
cached, and only if not, it serves the cached page. This might be too hard to
make, too, though.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?109257>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/