You are inlining the script on the same html page?<p>Hope you are using chunked transfers so it will render sooner, pre-gzipped streams end up not being chunked in nginx.<p>Google has already said AMP is not used as a ranking signal (but mobile friendliness is).