图像相关问题 [英] Image related problem

查看:63
本文介绍了图像相关问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个使用大量图像的网站.因此,当网站加载后,需要花费大量时间.同一页很多次提交.所以我想当第一次用户加载我的页面然后下一次提交然后相同的图像不重新加载,可能吗?我不想使用ajax.

I am create a website where use many images use. so when website is load then take lots of time. same page many time submit. so i want to when first time user load my page then next time submit then same images are not reload, is possible? I do not want to use ajax.

推荐答案

这些图像如何存储?它们是从磁盘馈送的静态映像吗?如果是这样,并且已使用img标签正确设置了这些图像的链接,并且已将浏览器设置为允许进行缓存,则默认情况下应缓存这些图像.
How are these images stored? Are they static images being fed from a disk? If they are, and your links to these images are set up properly using the img tag, and the browser is set up to allow caching to take place, then these images should be cached by default.


这篇关于图像相关问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆