It seems fetchArray runs the query again, this makes it feel sluggish with complex SELECT queries.
Is there someway to have the database cache the 1st query it gets and just give the same results the second time?
It seems fetchArray runs the query again, this makes it feel sluggish with complex SELECT queries.
Is there someway to have the database cache the 1st query it gets and just give the same results the second time?
sqlite3module to do this caching. It would also be possible to replace PHP with some other language. Which one is easier for you is something you have to decide yourself.