I have a script that accesses the contents of an S3 bucket and displays links to the items on a web page.
The host of the server has decreased the timeout and the script now does not always have time to complete.
The reason the script is slow is that it puts all of the items into an array, rather than just the ones that are needed. There are more than 1000 items and just a few tens of items are ever required at one time.
I have attached the existing script.
You can see an example of the script in use here...
[url removed, login to view]
I can install the improved script myself.