MaxServ / t3ext-fal_s3

S3 driver for FAL
GNU General Public License v2.0
13 stars 10 forks source link

Implement more persistent caching for stream wrapper #6

Closed arnoschoon closed 8 years ago

arnoschoon commented 8 years ago

Current implementation: https://github.com/MaxServ/t3ext-fal_s3/blob/master/Classes/Driver/AmazonS3Driver.php#L149

The AWS S3 StreamWrapper implementation provides a mechanism to cache stat calls, the out-of-the-box implementation uses a simple array based LRU cache that is flushed at the end of the script. Using a more persistent cache backend might help to keep the RTT low on subsequent requests.