kiwix-tools icon indicating copy to clipboard operation
kiwix-tools copied to clipboard

Kiwix-serve should automatically open one ZIM file

Open kelson42 opened this issue 7 years ago • 4 comments

From @kelson42 on August 31, 2016 18:46

... and avoid displaying the catalog page if only one ZIM file.

Copied from original issue: kiwix/kiwix-xulrunner#299

kelson42 avatar Jul 23 '17 18:07 kelson42

Not sure anymore this is a good idea. Closing it for now

kelson42 avatar Jul 29 '19 18:07 kelson42

In fact IMO we need that for KaiOS and we probably also need to remove the human_id part of the URL in case of only one ZIM file.

kelson42 avatar Jan 16 '20 13:01 kelson42

we probably also need to remove the human_id part of the URL in case of only one ZIM file

I'm not sure about this. We tell the browser to cache indefinitely the content we send. This work well because we have a "unique" content per url. If we remove the human_id from the url, we may end with different contents (because different zims) using the same url.

Saying that, we have the same issue with the nodatealias feature of kiwix-serve.

mgautierfr avatar Jan 30 '20 14:01 mgautierfr

@mgautierfr yes, not sure this is a problem or not. You see the problem here https://en.wikimed.kaios.kiwix.org

kelson42 avatar Mar 02 '20 15:03 kelson42