Lots of favicon.ico requests on article refresh

Found a bug? Tell us!!
Post Reply
eckes
Posts: 4
Joined: Thu Dec 14, 2006 12:42 am
Location: Karlsruhe, Germany
Contact:

Lots of favicon.ico requests on article refresh

Post 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/ )"
...
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Lots of favicon.ico requests on article refresh

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Lots of favicon.ico requests on article refresh

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply