请求页面的最快方式?

编程入门 行业动态 更新时间:2024-10-10 13:15:05
本文介绍了请求页面的最快方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

例如:POST,GET www.thescripts等 这样做的最快方法是什么?由于我正在制作的程序依赖于速度,所以最快的方式会有很多帮助。 我在VB6中尝试了一个等价物(不要问为什么),它在8mbps的连接上做了大约500ms。 有没有可以达到这个速度或更快的速度?

解决方案

search.cpan/search?query=lwptut - 米勒

没有脚本会加快你的连接速度。

加快速度的唯一方法是编写304代码。响应(意思是页面内容没有改变)。您可以通过使用Last-Modified和ETag标头来完成此操作。这里有大量的文档,所以请开始阅读lwp。 - 米勒

For example: POST, GET www.thescripts etc What''s the fastest way of doing this? As the program i''m making relys on speed, so the fastest way would help alot. I have tried an equivalent in VB6 (don''t ask why), and it''s doing around 500ms on a 8mbps connection. Is there one that can go at that speed or faster?

解决方案

search.cpan/search?query=lwptut - Miller

no script will speed up your connection speed.

The only way to speed things up is to code for a "304" response (meaning page content hasn''t changed). You do this by working with the Last-Modified and ETag headers. There''s plenty of documentation available for this, so just start reading up on lwp. - Miller

更多推荐

请求页面的最快方式?

本文发布于:2023-10-12 04:23:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1483712.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:最快   页面   方式

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!