Index: D:/eclipse/slimpy62/Slim/Utils/Prefs.pm
===================================================================
--- D:/eclipse/slimpy62/Slim/Utils/Prefs.pm	(revision 6032)
+++ D:/eclipse/slimpy62/Slim/Utils/Prefs.pm	(working copy)
@@ -108,6 +108,7 @@
 		'webproxy'		=> '',
 		"udpChunkSize"		=> 1400,
 		'itemsPerPage'		=> 50,
+		'disableStatistics'	=> 0,
 		'lookForArtwork'	=> 1,
 		'includeNoArt'		=> 0,
 		'artfolder'		=> '',
Index: D:/eclipse/slimpy62/Slim/Web/Pages.pm
===================================================================
--- D:/eclipse/slimpy62/Slim/Web/Pages.pm	(revision 6032)
+++ D:/eclipse/slimpy62/Slim/Web/Pages.pm	(working copy)
@@ -173,26 +173,32 @@
 	$find->{'contributor'} = $artist if $artist && !$album;
 	$find->{'album'}       = $album  if $album;
 
-	$params->{'song_count'}   = _lcPlural($ds->count('track', $find), 'SONG', 'SONGS');
-	$params->{'album_count'}  = _lcPlural($ds->count('album', $find), 'ALBUM', 'ALBUMS');
-
-	# Right now hitlist.html is the only page that uses genre_count -
-	# which can be expensive. Only generate it if we need to.
-	if ($params->{'path'} =~ /hitlist/) {
-
-		$params->{'genre_count'} = _lcPlural($ds->count('genre', $find), 'GENRE', 'GENRES');
+	if (Slim::Utils::Prefs::get('disableStatistics')) {
+		$params->{'song_count'}   = 0;
+		$params->{'album_count'}  = 0;
+		$params->{'artist_count'} = 0;
+	} else {
+		$params->{'song_count'}   = _lcPlural($ds->count('track', $find), 'SONG', 'SONGS');
+		$params->{'album_count'}  = _lcPlural($ds->count('album', $find), 'ALBUM', 'ALBUMS');
+	
+		# Right now hitlist.html is the only page that uses genre_count -
+		# which can be expensive. Only generate it if we need to.
+		if ($params->{'path'} =~ /hitlist/) {
+	
+			$params->{'genre_count'} = _lcPlural($ds->count('genre', $find), 'GENRE', 'GENRES');
+		}
+	
+		# Bug 1913 - don't put counts for contributor & tracks when an artist
+		# is a composer on a different artist's tracks.
+		if ($artist && $artist eq $ds->variousArtistsObject->id) {
+	
+			delete $find->{'contributor'};
+	
+			$find->{'album.compilation'} = 1;
+		}
+	
+		$params->{'artist_count'} = _lcPlural($ds->count('contributor', $find), 'ARTIST', 'ARTISTS');
 	}
-
-	# Bug 1913 - don't put counts for contributor & tracks when an artist
-	# is a composer on a different artist's tracks.
-	if ($artist && $artist eq $ds->variousArtistsObject->id) {
-
-		delete $find->{'contributor'};
-
-		$find->{'album.compilation'} = 1;
-	}
-
-	$params->{'artist_count'} = _lcPlural($ds->count('contributor', $find), 'ARTIST', 'ARTISTS');
 }
 
 # Send the status page (what we're currently playing, contents of the playlist)
Index: D:/eclipse/slimpy62/Slim/Web/Setup.pm
===================================================================
--- D:/eclipse/slimpy62/Slim/Web/Setup.pm	(revision 6032)
+++ D:/eclipse/slimpy62/Slim/Web/Setup.pm	(working copy)
@@ -2091,6 +2091,7 @@
 
 			'Default' => {
 				'PrefOrder' => [qw(
+					disableStatistics
 					lookForArtwork
 					itemsPerPass
 					prefsWriteDelay
@@ -2102,6 +2103,14 @@
 		},
 
 		'Prefs' => {
+			'disableStatistics' => {
+				'validate' => \&validateTrueFalse,
+				'options' => {
+					'1' => string('SETUP_DISABLE_STATISTICS'),
+					'0' => string('SETUP_ENABLE_STATISTICS'),
+				},
+			},
+
 			'lookForArtwork' => {
 				'validate' => \&validateTrueFalse,
 				'options' => {
Index: D:/eclipse/slimpy62/strings.txt
===================================================================
--- D:/eclipse/slimpy62/strings.txt	(revision 6032)
+++ D:/eclipse/slimpy62/strings.txt	(working copy)
@@ -5220,6 +5220,22 @@
 	SE	Detta val avgör tillåten animering. Animering är kortvariga meddelanden, skärmåkningar vid navigering samt rullande långa titlar.
 	ZH_CN	这个选项决定了所允许的动画量。动画包括简要消息显示、在漫游时的屏幕转换效果、和长标题的卷动。
 
+SETUP_DISABLESTATISTICS
+	DE	Musiksammlungsstatistik
+	EN	Library Statistics
+
+SETUP_DISABLESTATISTICS_DESC
+	DE	Beim Anzeigen der SlimServer Startseite wird die ganze Musiksammlung durchsucht, um den Bestand anzeigen zu können. Wenn Sie diese Funktion deaktivieren, kann die Startseite schneller angezeigt werden.
+	EN	When the SlimServer front page comes up, it scans your music library to figure out your library statistics and displays them on the front page.  You can choose to disable this behavior, which will shorten the time it takes to initially open up the web interface, especially with a large music library.
+
+SETUP_DISABLE_STATISTICS
+	DE	Statistik nicht anzeigen
+	EN	Disable library statistics
+
+SETUP_ENABLE_STATISTICS
+	DE	Statistik anzeigen
+	EN	Enable library statistics
+
 SETUP_LOOKFORARTWORK
 	CZ	Hledat obal
 	DE	Plattenhüllen nachschlagen
