Project

General

Profile

Actions

Patch #37748

open

Favicon takes a long time to load

Added by Gasper C over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I'm using passenger standalone and nginx as proxy webserver. Redmine is v5.0.2.

I've noticed that favicon isn't cached, and takes a ridiculous amount to load (~30ms).

While caching should be configured at webserver level, I've noticed that when I remove versioning from the favicon, it only takes about 4ms to load it.

This is a simple patch, maybe it would be better to remove some more of the code related to favicon, but I'm not familiar with ruby.

Before:

After:


Files

favicon.diff (791 Bytes) favicon.diff Gasper C, 2022-10-04 12:54
after.png (62.2 KB) after.png Gasper C, 2022-10-04 12:55
before.png (65.2 KB) before.png Gasper C, 2022-10-04 12:55
Actions

Also available in: Atom PDF