预加载很多小图片

发布于 2024-08-29 07:24:02 字数 270 浏览 2 评论 0原文

我正在考虑如何解决手头的问题。有一部 Flash 影片需要大量相对较小的图像,我正在尝试优化它们预加载所需的时间。

我考虑过在服务器端打开 Apache 中的 KeepAlive 的一件事。那行得通。但我的想法仍然想知道是否还有其他方法;-)

那么,我还可以尝试哪些其他方法?有没有办法压缩所有这些图像然后在客户端解压?

我对服务器端和客户端都有完全的控制权。甚至可以尝试安装 Apache 以外的东西。缓存不是一个选项,因为它已经可以工作了,而且这是第一次加载,这让我很困扰。

I'm thinking about how to approach the problem at hand. There's a flash movie that requires a lot of relativly small images and I'm trying to optimize the time it takes for them to be preloaded.

One thing I've considered it turning on KeepAlive in Apache on the server side. That works. But my mind still wonders if there's anything else ;-)

So, what other approaches I may try? Is there a way to compress all those images and then unpack on client side?

I have full control on both server and client side. Can even try installing something other than Apache. Cache is not an option because it already works and it's first time loading that bothers me here.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

习ぎ惯性依靠 2024-09-05 07:24:02

您可以尝试使用图像精灵而不是单独的图像。 这是一篇关于在 CSS 中使用它们的好文章,但同样的技术也可以应用于 Flash 。

You could try to use image sprites instead of separate images. Here's a good article about using them in CSS, but the same technique can be applied in Flash.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文