Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Reducing overall javascript load size to make dokuwiki faster (leightweightscript plugin)
at604 #1
Member since Jul 2019 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Reducing overall javascript load size to make dokuwiki faster (leightweightscript plugin)
The issue around dokuwiki, javascript size, and load time has been discussed before ( and led to some interesting discussion... I have a dokuwiki that is read-only, and I am the only editor. I have about 5000 views/month and found my dokuwiki's load time is slowing down due to having quite a few plugins and the increased traffic.

When I test my install on , it seems the majority of the speed issues are due to the loading of exe/js.php. The js.php file ends up being a render-blocking resource that can add several seconds to the page load time.

I found the leightweightscript plugin ( seems to address this issue by loading only the necessary js files for read-only users, and only loading additional admin/editor level js when logged in. But when I install this plugin, it doesn't seem to work, and the full javascript remains loaded for all users.

I am running Greebo, using bootstrap3, cache has been purged, file names and plugin folders are correct...

This plugin also has very little documentation...  :-/ I figured it might be a plugin issue, and I took a look through the code and can't figure out what might be going on... Does anyone know what might be wrong with this plugin?

Or better yet, anyone have any other suggestions on reducing javascript load for dokuwiki?

This post was edited on 2019-07-27, 21:17 by at604.
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
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-02-29, 05:48:50 (UTC +01:00)