From: webmaster at eclipse.org (Eclipse Webmaster (Denis Roy))
Subject: Problem with cgit cache
Date: Mon, 19 Jan 2015 14:17:00 -0500 [thread overview]
Message-ID: <54BD582C.4010609@eclipse.org> (raw)
Greetings,
We use cgit for about 800 Git repos. Lately we've noticed that the links
in the cache become polluted. We've noticed hits like this in the logs,
which come from Search Bots, which seem to match the garbage in the
cache links:
GET /c/set%7Cset%26set/org....
GET /c/%0aset%7cset%26set%0a/org....
(we serve cgit from /c/)
If I clear the cache entries, all is well until these bots come along
and pollute it again. If I set cache-size=0 everything works well,
albeit much slower.
Is this a known bug in cgit? For now I've added some Apache
RewriteRules so that these hits don't reach cgit, but it would be nice
if cgit could deal with these.
You can read more on our bug tracker, here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=453438
Thanks,
Denis
next reply other threads:[~2015-01-19 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 19:17 webmaster [this message]
2015-01-19 19:50 ` john
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54BD582C.4010609@eclipse.org \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).