MaxServ / t3ext-fal_s3

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

Improve upload and replace file performance #23

Closed helhum closed 6 years ago

helhum commented 6 years ago

First of all the image dimension extractor is removed, as it is obsolete. The RecordMonitor is triggered every time the index entry is updated, which is enough to track changes in the file and update the image sizes accordingly.

Additionally we avoid downloading the file from S3 when we had the file locally already when it was uploaded by adding them to the temporary file cache that already exists.

We also use a new and better TYPO3 API to calculate the image size, which relies on a PHP function instead of an imagemagick call.