skohub-io / skohub-vocabs

A lightweight tool to publish SKOS Vocabularies
https://skohub.io/
Apache License 2.0
34 stars 25 forks source link

add compression options to .htaccess #194

Closed sroertgen closed 2 years ago

sroertgen commented 2 years ago

I added compression via .htaccess.

I had not that big vocab that @acka47 to test,but used some other vocab, that has a quite big index of around 23.6MB. With compression enabled I was able to reduce transferred size to 2.55MB. You can check out here: http://c102-077.cloud.gwdg.de/w3id.org/openeduhub/vocabs/oeh-topics/5e40e372-735c-4b17-bbf7-e827a5702b57.de.html

This might finally close #153.

Though using this approach, we should add a note in the README that we recommend using apache web server. I think we are implicitly already doing that using Multiviews and .htaccess. If testing on dev is ok, I will add something in the README

acka47 commented 2 years ago

I am merging this before #186 as it seems to be not disputable at all.