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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Iframe + Polling = Cookie Fight

10 点作者 timparker将近 14 年前

1 comment

andrem将近 14 年前
Just above iframe and ajax it needs to say memcache/queue/additional check and you will be fine. Seriously - it's not an architecture problem here, just a way of figuring out how to make your code aware of changes outside of its process.<p>Edit: forgot to mention - think about your worst case before/while you design and you will then have a problem in yours hands down the track that says - 90% of visitors do A (subset of B) and my design caters for B. How do I optimize for A?<p>Instead of - my design caters for A, but a fair few do B - how can I extend A cater for B?<p>Architects - agile, waterfall, whatnot - they can help you with this!