Maybe a little off topic from A4D, but definitely web related...  I've
always been disappointed at 4D's speed at serving pictures, especially
on my SSL pages.  Today I played around with hosting the images only on
my 2003 Server using IIS.  WOW, the results were great.  I don't have
any hard metrics, but it's noticeable faster and it's got me thinking
it's a worthwhile endeavor to host all my static images from something
other than 4D.

My idea is to create a session variable that would have the path to the
site's static images.  Something like:

Set Session("Images"; "https://images.domain.com/this_site/";) 

And then whenever I needed to use an image, call it like:

<img src="<%=Get Session("Images")%>picture.jpg">

This way it would be easy to move the images to wherever needed and
update an entire website with one session variable.

1)  Is this a good idea?
2)  Any gotcha's I should consider?
3)  I'm not much of a web guy, but it seems the "industry standard" is
to use Apache on Linux.  If I go this route, any suggestions on which
build of Linux?  Can you recommend a book or resource to get me going?
(I know zip about using Linux or Apache)
4)  Any other thoughts?

Thanks!
Jason


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to