Page 1 of 1

Lots of favicon.ico requests on article refresh

Posted: Sun Apr 26, 2009 3:18 pm
by eckes
If I run "Alle Artikel neu cachen" (cache all articles?) in S9Y 1.4 I see roughly 300 requests in my accesslog from the web server itself (PEAR HTTP_Request) for /favicon.ico (which I do not have).

I tried to find the reason for it, but I did not succeed. The string "favicon.ico" is only in the gravatar plugin, but after I changed it there, it is still requested:

# find . -type f -print0 | xargs -0 fgrep favicon.ico | grep -v lastrun
./data/plugins/serendipity_event_gravatar/serendipity_event_gravatar.php:
$faviconURL = $urlParts['scheme'] . '://' . $urlParts['host'] . ($mode=='F'?'/favicon.ico?s9y':'
/pavatar.png');
./data/templates/bulletproof/index.tpl:
<!-- <link rel="shortcut icon" href="{$serendipityBaseURL}favicon.ico" /> -->

Any idea where this is coming from?

Gruss
Bernd

...
195.49.138.57 - - [26/Apr/2009:15:18:02 +0200] "GET /favicon.ico HTTP/1.1" 404 106651 "-" "PEAR HTTP_Request class ( http://pear.php.net/ )"
195.49.138.57 - - [26/Apr/2009:15:18:02 +0200] "GET /favicon.ico HTTP/1.1" 404 106651 "-" "PEAR HTTP_Request class ( http://pear.php.net/ )"
195.49.138.57 - - [26/Apr/2009:15:18:02 +0200] "GET /favicon.ico HTTP/1.1" 404 106651 "-" "PEAR HTTP_Request class ( http://pear.php.net/ )"
...

Re: Lots of favicon.ico requests on article refresh

Posted: Sun Apr 26, 2009 8:24 pm
by yellowled
eckes wrote:./data/templates/bulletproof/index.tpl:
<!-- <link rel="shortcut icon" href="{$serendipityBaseURL}favicon.ico" /> -->
Not exactly helpful, but this one should not be responsible for it since it's commented out.

YL

Re: Lots of favicon.ico requests on article refresh

Posted: Mon Apr 27, 2009 11:39 am
by garvinhicking
Hi!

I do think the gravatar plugin is responsible for it. When the cache is rebuilt, the internal API methods are called that fetch and display an entry, so the gravatar plugin also kicks in.

Regards,
Garvin