good evening,
i have a mysql table that contain the users data
and i use mysql_connect, mysql_query, mysql_fetch_array to fetch user data
this query should run on every page load and for thousands of users
so which is better and faster ? using mysql for every page load ?
OR cache all of the user data results in a file and include it ?
good evening, i have a mysql table that contain the users data and i
Share
I think the right answer is mix. You should cache the most common query result and retry the other “on the fly”