Thread:User talk:Yair rand/Template:langrev subpages/reply (3)

Well, I do not want to give up so easily.

I managed to speed it up a bit by adding some simple caching. The subjective responsiveness was comparable, despite the requests taking three times as long (with the majority of the time apparently spent executing the Lua code). Not sure if it helps. I think some caching on the server side would.

(I have also tried the scribunto-console API just out of curiosity; the overhead seems comparable, and often worse.)

I also thought about creating a JS library which would manage a much more sophisticated cache of language data and various code-name mappings. It would be a longer-term project, though.