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.

A practical guide to varnish

65 pointsby sagarunabout 14 years ago

1 comment

CWIZOabout 14 years ago
I've first heard of Varnish today, so it's quite a coincidence that this poped-up today here ...<p>But I'm a little bit confused. If I used this for CSS, is it really more efficient to serve them trough Varnish than to serve them from my server (nginx) which is configured to send the appropriate cache headers? I always set my css to expire far far in the future (expires max;), and I invalidate the cache by changing a GET parameter for the CSS file that has changed (somefile.css?v=X).<p>I'll have to read more about this, especially the stuff about dynamic content.
评论 #2424126 未加载