hbz / lobid

Linking Open Bibliographic Data
https://lobid.org/
Eclipse Public License 2.0
15 stars 4 forks source link

Allow compression within apache #234

Closed dr0i closed 8 years ago

dr0i commented 8 years ago

Serving raw data compressed speeds up delivering considerably. This is especially true when doing bulk downloads (see hbz/lobid#176). Apache can be configured using DEFLATE and thus will serve the data compressed if the client is able to accept this encoding. The costs reside on the clients (for decompressing) and on the apache server side (for compressing). But CPU power is not the bottleneck, so these costs are much cheaper than to not compress.

dr0i commented 8 years ago

Enabled in staging. @acka47 @fsteeg @jschnasse do you experience any issues using your browsers (which accept gzip encoding by default) and your other tools querying test.lobid.org? If not I would want to enable this behaviour for whole lobid.org.

jschnasse commented 8 years ago

Seems to work for edoweb. No browser errors experienced.

dr0i commented 8 years ago

Deployed to prodution, closing.