The first time each article is loaded, loadMainOnce decorates that article's main demo code blocks on the server and caches the resulting rawHTML. This is done to speed up the dev server's startup time. During prod builds, initServer should decorate all the code blocks eagerly.