TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I rebuilt my WP blog on React and Cosmic JS. It's now 10x faster

3 pointsby tonyspiroover 9 years ago

1 comment

jjoeover 9 years ago
Hi<p>Document Length is much bigger with WP. Is it compression being off in Apache&#x2F;PHP or caching in React?<p>Update: ok, compression is off in Apache. Hmm, I&#x27;m not sure ab is a good benchmark tool here. Your React combo is asynchronously pulling data while WP is mostly synchronous. To be fair, you need to check &quot;full loading&quot; times.<p>WPT Apache: <a href="http:&#x2F;&#x2F;www.webpagetest.org&#x2F;result&#x2F;151027_GJ_d747f0a207fa4b72af35d63f53dfd447&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.webpagetest.org&#x2F;result&#x2F;151027_GJ_d747f0a207fa4b72...</a><p>WTP React+: <a href="http:&#x2F;&#x2F;www.webpagetest.org&#x2F;result&#x2F;151027_83_f3b299e3ab7957a473bb1cd29a2f12eb&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.webpagetest.org&#x2F;result&#x2F;151027_83_f3b299e3ab7957a4...</a><p>Fully Load for Apache is: 3.0xs<p>Fully Load for React+ is: 3.7xs<p>I can also see that you haven&#x27;t done basic optimization on Apache (KeepAlive off, compression off, MaxClients, etc).
评论 #10461148 未加载