Reply to Re: Securing public images

Your name:

Reply:


Posted by Toby A Inkster on 06/19/07 08:04

cbmeeks wrote:

> Works great. However, it's very demanding and it simply can't serve
> the data as quickly as a static image in a browsable location.

Don't worry about performance too much until it actually becomes a real
problem -- Google for "premature optimisation".

One way you might be able to speed up your site is eAccelerator, which
keeps compiled versions of your PHP scripts in a RAM (or disk) cache,
which tends to speed up most websites fairly significantly (20%+).

Also, if you're performing SQL queries to check access rights, look at
optimising them -- make sure you're not fetching data that you don't need
("SELECT * FROM" is a sign that you might be doing that).

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 115 days, 15:44.]

dict, thes & ency
http://tobyinkster.co.uk/blog/2007/06/18/dict-thes-ency/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация