From mboxrd@z Thu Jan 1 00:00:00 1970 From: webmaster at eclipse.org (Eclipse Webmaster (Denis Roy)) Date: Mon, 19 Jan 2015 14:17:00 -0500 Subject: Problem with cgit cache Message-ID: <54BD582C.4010609@eclipse.org> 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