-
Notifications
You must be signed in to change notification settings - Fork 13
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
Unnecessary file size overhead #210
Comments
Related issue: owncloud/core#10831 |
@mmattel I put it on the radar. |
@micbar I was thinking about a transition. |
@karakayasemi Can you take a look? |
I don't know if we can reduce the header size somehow. It seems to use around 8k, which is huge for small text files or icons, specially when just a few bytes are being used at the moment. 7.5k or more bytes are wasted just in the header. As said, I'm not sure if we can do something about it now, but next time we need to something similar, we should plan a proper file format. |
Consider passing the
OPENSSL_RAW_DATA
argument toopenssl_encrypt
andpass true for $raw_output
tohash_hmac()
to store the files in binary instead of base64.Base64 provides a size overhead of around 35%. Or is there a reason to use base64?
When changing this we should not forget about backwards compatibility for existing setups.
The text was updated successfully, but these errors were encountered: