IIS URL重写缓存JSON服务器数据

发布于 2025-01-30 06:40:45 字数 213 浏览 3 评论 0原文

我在Windows RDP上托管了一个API(JSON服务器),并且我正在使用URL重写IIS来从假REST API中获取JSON数据,也使用IIS托管我的前端,问题是每次有人加入网站时URL重写向JSON服务器发送请求。任何解决方法可以缓存数据,而不是从GET请求中超载我的节点JSON服务器。

否则,如果无论如何都可以将数据发送到另一台Linux服务器,请缓存并使用第二个API,也会有所帮助。

I have an API (JSON Server) hosted on Windows RDP and I'm using URL rewrite IIS to get the JSON Data from the fake REST API also using the IIS to host my front end, the issue is every time someone joined the website the URL rewrite send a request to the JSON Server. any workaround to cache the data instead of overloading my Node JSON Server from the GET request.

Otherwise if there's anyway to send data to another linux server, cache it and using 2nd API also it will help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文