Quote:
Originally Posted by CarCdr
Plain fopen() should be faster. Letting Apache handle it without using a script should be MUCH faster. Static content does not have to interact with the MySQL server.
|
Erm, as you have to go through the whole file to get a random quote, it will get slower and slower with fopen.
The connection to the file may be faster, but going through the file will be the slower part of it.