Does requesting (per AJAX)
test.php?whattodo=delete
test.php?whattodo=download
test.php?whattodo=edit
Request 3 entirely new files, or is it cached somewhere for better use?
Does it go through test.php 3 same times and waste a lot of resources?
Or it reads it once and executes according to code, what whattodo
is programmed to do.
This would really help me indicate progress to user. Could I use it? Or is it real harm towards server?
(I know how $_GET
works, I just need to know whether I could use it in AJAX in order to process just a part)