Doctor Posted February 19 Report Share Posted February 19 The wiki is slow to load pages. I found one of the issues: https://www.net-7.org/wiki/index.php?title=Template_talk:Delink#And_the_proof_is_in_the_pudding With that change the "List of Ores" page goes from 20 seconds to load to just 1 second. My method was a bit of a hammer, I just removed the action it took entirely. But I suspect that is the right call given how it is used (effectively) everywhere via transclusion. The next slow template is actually a LUA module called by https://www.net-7.org/wiki/index.php?title=Template:Item/GenerateHeader The LUA module called is: https://www.net-7.org/wiki/index.php?title=Module:Item I gave a stab at fixing it, but my attempts did not yield useful results. If anyone here has any skill with profiling code, or writing LUA, and can see what is making that module take nearly 2 seconds to run, I'd love to know. And maybe I've picked the wrong target. Mediawiki's profiler only considers how long a *template* takes to run. If the template calls many sub-modules, then it is impossible to know (at least for me) which module is the culprit. I'd love to make the wiki faster, but I've hit the limit of what I know and can figure out for now. Quote Link to comment Share on other sites More sharing options...
Doctor Posted February 20 Author Report Share Posted February 20 Followup: It seems the problem is with Lua itself. It takes around 2 seconds to do anything at all. I've notified codemonkey and he's going to chase down options on either seeing if the wiki server can better handle lua (faster) or replacing lua if need be. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.