Compiling happens a second time on initial request

Have you confirmed that on a different computer but the same project that this happens? That would be the first step.