From ead36d91bd9344bca3fd93e3163b571b9067acd9 Mon Sep 17 00:00:00 2001 From: John Moore Date: Wed, 20 Nov 2013 02:10:14 +0000 Subject: [PATCH] allowing the browser to cache album art --- image.php | 1 + templates/show_now_playing_row.inc.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/image.php b/image.php index 1f87dae4b0..5c56a7eb3a 100644 --- a/image.php +++ b/image.php @@ -121,6 +121,7 @@ // Send the headers and output the image $browser = new Horde_Browser(); + header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + 604800)); $browser->downloadHeaders($filename, $mime, true); echo $image; } diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php index d45778e1db..cec5e8b574 100644 --- a/templates/show_now_playing_row.inc.php +++ b/templates/show_now_playing_row.inc.php @@ -83,7 +83,7 @@