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

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -

xslt - Umbraco and EXSLT sets do not work -