Checking if an image is processable when loading the directory slowed down the initial loading of the directories significantly. 7ms vs 180ms in a small test with about 400 images. User should not have any other files in these folders. Other methods still contain sanity checks. |
||
|---|---|---|
| .. | ||
| controller | ||
| router | ||
| app.ts | ||
| fsExtension.ts | ||
| logging.ts | ||
| models.ts | ||
| paths.ts | ||
| thumbnails.ts | ||