MaxServ / t3ext-fal_s3

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

Bugfix/tud 953 fal replace #70

Closed DerFrenk closed 1 year ago

DerFrenk commented 1 year ago

The 'replace' functionality in the filelist didn't work properly. It replaced the file, but didn't replace any references. This happened because of a cached fileExist call. When starting the replace action, the file doesn't exist yet and false is cached. After the file has been processed, it's still false in the fileExistsCache while it actually exists. POST/PUT/PATCH/DELETE HTTP requests can modify images, so we should bypass the cache.