Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Indexmenu; how to minimize traffic
Avatar
virk #1
Member since Aug 2008 · 667 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
Subject: Indexmenu; how to minimize traffic
We have a wiki with about 5000 pages in 1000 namespaces and make use of the plugin indexmenu for navigation purpose.

When I look at the page source of a wiki page, the complete index of the whole wiki is integrated into this html-page. Some questions:

1) Is this amount of data created by the webserver, I assume yes, or is it created by the browser somehow?
2) Does this amount of data need to transported for each new site I call in the wiki, or is it cached somehow in the browser?
3) Our namespace-structure is as follows:
/2151-2200/2151
/2151-2200/2151
/2151-2200/2152
..
/2151-2200/2200
/2201-2250/2201
/2201-2250/2202
/2201-2250/2203
..
/2201-2250/2250
...
...
/3001-3050/3001
...

My current indexmenu is "{{indexmenu>..:#1|js#thread navbar noscroll nocookie}}". Can I adjust it in a way that only the index of the current namespace is integrated into the html-source? F.e., only the information for top namespaces are presented and each click on a "namespace-page" will force a new request at the server for the index of that namespace?

4) The purpose of all the above is to reduce data traffic.

I would be pleased if someone understands what I am talking about :-)
Avatar
samuele #2
Member since Dec 2009 · 30 posts
Group memberships: Members
Show profile · Link to this post
The "max" option is what you need:
https://www.dokuwiki.org/plugin:indexmenu#dokuwiki_is_gett…
Avatar
virk #3
Member since Aug 2008 · 667 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
I have added "max#1". Now I am waiting for to get some experience. Thank you!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-02, 20:06:37 (UTC +02:00)