Closed (fixed)
Project:
Logo Tool
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2007 at 23:39 UTC
Updated:
4 Apr 2007 at 17:33 UTC
rethink the way how you load the images, please. I was virtually beaten for this way in a different module i called dynamic JS with drupal menu paths. In the way you do this, Drupal is called more the once and your request must go to the complete drupal system what makes loading very slow and you server get's high stress.
Isn't it possible to replace or alter the $logo variable and change this one to a real image link. All without the mime type code that is very slow.
Comments
Comment #1
pobster commentedNope -1 for changing it completely as I prefer to keep my logos in my (private) files folder with all my other site files as I have lots of multisites and so need to keep each sites stuff separate from the others to save on confusion. I *much* prefer having the logo 'served' because of this.
I could perhaps provide a setting to provide different behaviour?
Pobster
Comment #2
hass commentedhaving a logo (that gets LOAD) in private store sounds not the best idea... it's a public file and you make it hidden - sounds strange!? having this files in the theme folder of a site sound better and faster. The logos on your example website are really loading very slow... i think this is caused by the duplicate drupal run...
Comment #3
hass commentedcheck out this case http://drupal.org/node/92883 please.
Comment #4
pobster commentedFixed: http://drupal.org/node/133749
Comment #5
pobster commented