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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

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