|
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/
Navigation:
[Reply to this message]
|