getimage vs direct url from apache

jisri's picture

Assuming images gets re-sized when uploaded, why drupal uses getimage to include images and thumbs
if it is much faster to access the images directly through apache?
I always notice high cpu utilization when I load a page full of images.
How can I avoid this and include direct url to all my images?

thanks for any comments or suggestions.

Comments

Helpful info

mikeytown2's picture

If your using a private file system it will use PHP/Drupal to make sure that user has permissions to view that image. Image derivatives happen on request, not on upload. Solutions below

Make re-size on upload happen:
6.x - http://drupal.org/project/imageinfo_cache

Fixes for private file systems:
6.x - http://drupal.org/project/xsend
7.x - http://drupal.org/project/xsendfile

High performance

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week