From 7e2e90ad3f74ff69bfacf99e8f4e8d1c443db59b Mon Sep 17 00:00:00 2001 From: rr- Date: Sun, 13 Dec 2015 23:57:25 +0100 Subject: [PATCH] Removed hack for GIF preloading It was effectively destroying caching. --- public_html/templates/post-content.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/templates/post-content.tpl b/public_html/templates/post-content.tpl index f5c8bdb5..9c26e0f7 100644 --- a/public_html/templates/post-content.tpl +++ b/public_html/templates/post-content.tpl @@ -1,5 +1,5 @@ <% - var postContentUrl = '/data/posts/' + post.name + '?' + Math.round(Math.random() * 1000) /* reset gif animations */ + var postContentUrl = '/data/posts/' + post.name; var width; var height; if (post.contentType === 'image' || post.contentType === 'animation' || post.contentType === 'flash') {