J
Joey Martin
On my website, I want to provide 3 pieces of statistics that will
require 3 queries to my SQL database. As much as I'd like these to be
live, they are part of a footer that will load each time for about 10
pages on my site. I am thinking that, although they are simple queries,
it may be just too much.
What do you recommend?
I could open the connection, run the query and then close it, each time.
Would this be a recommend plan?
Or, should I create a daily task that builds a simple text file with
those query results and just pull those in each time the footer is
loaded? This would not be live, but I can deal with it.
What do you all think?
require 3 queries to my SQL database. As much as I'd like these to be
live, they are part of a footer that will load each time for about 10
pages on my site. I am thinking that, although they are simple queries,
it may be just too much.
What do you recommend?
I could open the connection, run the query and then close it, each time.
Would this be a recommend plan?
Or, should I create a daily task that builds a simple text file with
those query results and just pull those in each time the footer is
loaded? This would not be live, but I can deal with it.
What do you all think?