Before we'd round up all preview request to their nearest power of two. This resulted still in a lot of possible images. Generating a lot of server load and taking up a lot of space. This moves it to previews to be powers of 4: 64, 256, 1024 and 4096 Also the first two powers are always skipped (4, 16) as it doesn't make sense to generate previews for that. We cache preview pretty agressively and I feel this is a better tradeoff. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> |
||
|---|---|---|
| .. | ||
| BMP.php | ||
| BackgroundCleanupJob.php | ||
| Bitmap.php | ||
| Font.php | ||
| GIF.php | ||
| Generator.php | ||
| GeneratorHelper.php | ||
| HEIC.php | ||
| Illustrator.php | ||
| Image.php | ||
| JPEG.php | ||
| MP3.php | ||
| MSOffice2003.php | ||
| MSOffice2007.php | ||
| MSOfficeDoc.php | ||
| MarkDown.php | ||
| Movie.php | ||
| Office.php | ||
| OpenDocument.php | ||
| PDF.php | ||
| PNG.php | ||
| Photoshop.php | ||
| Postscript.php | ||
| Provider.php | ||
| SVG.php | ||
| StarOffice.php | ||
| TIFF.php | ||
| TXT.php | ||
| Watcher.php | ||
| WatcherConnector.php | ||
| XBitmap.php | ||