Computer Science, asked by manishdudi1459, 1 year ago

How to delay redirecting to page till the data stackoverflow?

Answers

Answered by Anonymous
2
have a scenario as follows: I have a search query form. Once the form is submitted, I am re-directing to a new page (/search/results) t
Answered by Poojasuri
0
Wordpress is generally driven by the PHP scripting language. PHP is 3rd party software that is called by your web server software when php files need to be processed and this is what goes on in the background (on the server) when someone requests a wordpress-based page.

Now depending on how bad the PHP code is, the processing time may take many milliseconds, or if the code is optimized and bug-free then the processing time may take maybe microseconds.

I do agree with one comment about managing redirects via .htaccess (provided your web server software is Apache). This is because the configuration file is processed by the web server directly with no 3rd party tool to load (such as PHP). This in turn makes processing faster.

One option, if you got the resources and/or money is to run the website on a server that only you can manage (such as a dedicated server), and shut off any applications and/or other services on that server that you don't need running.
Similar questions