mysql - reducing execution time of indivual php files that are not mandatory to the system like Ajax JSON requests -


i want make sure ajax responses dynamic json pages not slow down server when sql queries take long. i'm using php, mysql apache2. had idea use ini_set() recude execution of pages inline use of mentioned method or set_time_limit() method. effective? alternatives or mysql syntax equivalent query time?

these being used example jquery ui autosuggestions , things better not work if gonna slow down server.

if makes sense application, go ahead , set_time_limit desired max execution time. however, makes more sense tweak queries , introduce caching of query results.


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -