-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate previews only for files that can have a preview #5079
Comments
Needs a product decision @tbsbdr |
If the client does not have the knowledge that a particular mime type can have a preview means you will be sending N requests for N objects and most of the time (from experience) you won't get a preview, therefore you're waisting resources. |
@labkode we discussed this internally and would suggest the following: The admin provides a What do you think of this approach? Note: Handling the "Get list of mimetypes handled by apps" doesn't make sense for now since displaying previews for media files (as an example) is handled independently of the |
@pascalwengerter I think is a good compromise. |
@kulmann I'm re-opening this ticket because the option |
@diocas has been changed to mime types, see web/config/config.json.sample-ocis Line 28 in de72c25
|
Please close again if that works for you |
Sorry! I saw that but didn't realise it was replacing the old config. Thanks |
Well, we failed to announce it properly... |
Only send previews for known mimetypes that can have them and app allows for that.
The logic should be:
The text was updated successfully, but these errors were encountered: