|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Php pages
I have this php script and i was wondering is there a way in genral for php scripts to load faster? esp with a lage database of content?
|
|
#2
|
||||
|
||||
|
There are several PHP accelerators, but the best you can do is:
1. Use PHP via mod_php, not the external binary 2. Optimize your code as much as you can. (Slow rendering pages are spidered less frequently) 3. Avoid using "SELECT * FROM `x`" SQL statements. Use "SELECT `field1`, `field2` FROM `x`" instead. This will improve the response from the database. 4. SQL is an advanced method for accesing data, so try to minimize the number of queries. Receiving a 8Kb data package from MySQL is better than receiveing 8 packages of 1Kb each. |
|
#3
|
|||
|
|||
|
additionally...
make sure you are on a fast server. hopefully a webhost that doesn't overload their servers. Dual Xeon machines would be a bonus too |
![]() |
| Viewing: SEO Chat Forums > Other > SEO Scripts > Php pages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|