I'm trying to figure out if it is possible to configure a webserver so that requests for files will be served with a delay. So for example if i were to serve this file http://www.example.url/picture.jpg, i want the data transfer to start only 2 seconds after the request has been made... or any other arbitrary number. The important bit is that this should work independent from how the file is accessed, so just an html solution isn't workable.
I have asked around on superuser.com and people there recommended me to look into perl or php to put something together that way that could provide me with the functionality i need. Now i do not have any experience with any of these languages mentioned but i'm assuming it wouldn't be too complicated to put something together like that, my question is... can someone help me get started?
Thanks for your time.