Board Thread:Wikia Discussion/@comment-25683568-20150318062713/@comment-25683568-20150424090431

Working on Template:ShipListKai, I've actually managed to timeout a Lua call (I think it's 10 seconds on Wikia). A bit of trimming and it's under 10 seconds, but I don't think there's much wiggle room, and I cut some stuff out that I think would be useful in the table.

Is anyone opposed to loading parts of the page via ajax? Then we can section out parts of the table to subpages, and divide the processing power needed for the table across multiple pages. It's definitely possible to load page content and display it on the page via ajax; see User:Ckwng/scripts/Moduledoc.js (just need to make it so that the location of appended content can be decided by the host page itself).

Otherwise, I think I might've hit the boundary of Lua; Requiring ~400 modules in one invoke call and iterating over them is probably pushing it ^^"

...Actually, writing this I just realized that Ships should be requiring related Equipment lazily so I might be able to improve performance some more...