TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How I improved our Jade compilation time by 99.7%

23 点作者 paulyoung超过 11 年前

5 条评论

binarymax超过 11 年前
FYI - I am getting the following warning on FireFox 22.0 for Ubuntu 12.04:<p><pre><code> Reported Attack Page! This web page at paulyoung.tv has been reported as an attack page and has been blocked based on your security preferences.</code></pre>
评论 #6423290 未加载
评论 #6423217 未加载
nadaviv超过 11 年前
&gt; Currently, jade-inheritance depends on its own version of Jade to parse templates. Since jade-inheritance does not offer compilation, this must be done using other tools which may use a different version of Jade.<p>Why not use the jade that&#x27;s already installed by the parent app? Due to the way dependencies work in npm, by just removing the jade dependency from jade-inheritance it should just traverse up the directory structure until it finds a jade package. Just instruct users to install jade alongside with jade-inheritance, and instead of using node_modules&#x2F;jade-inheritance&#x2F;node_modules&#x2F;jade, it should use node_modules&#x2F;jade.
评论 #6423043 未加载
paulyoung超过 11 年前
My site is having some issues so I&#x27;ve added this blog post at <a href="http://paulyoung.github.io" rel="nofollow">http:&#x2F;&#x2F;paulyoung.github.io</a>.
mattip超过 11 年前
What&#x27;s with the formatting on android - the right hand margin is off the screen and I cannot pinch to zoom out?
评论 #6423571 未加载
daemon13超过 11 年前
Same message on Chromium.<p>Probably you shall request site re-check by GGL.