Jump to content

如何去除图片伪静态?(How to remove the picture's url rewrite?)


Guest ltwl

Recommended Posts

觉得图片伪静态对网站优化没起多大作用,而且图片多的话,开起来也比较慢,浪费系统资源。想去掉图片伪静态,如何处理?

Share this post


Link to post
Share on other sites

大多数非PrestaShop网站上的图片都是实实在在的图片地址。PrestaShop也没有对系统内的所有图片做动态处理。所以,我不是很明白,图片伪静态是指什么。

如果图片多,影响速度,可以考虑降低产品图片的“quality”,并利用css sprite技术显示所有背景图片。至于系统资源的占用,图片不会也不应是罪魁祸首。Well, you have a long way to go and good luck to ya. :)

Share this post


Link to post
Share on other sites
大多数非PrestaShop网站上的图片都是实实在在的图片地址。PrestaShop也没有对系统内的所有图片做动态处理。所以,我不是很明白,图片伪静态是指什么。

如果图片多,影响速度,可以考虑降低产品图片的“quality”,并利用css sprite技术显示所有背景图片。至于系统资源的占用,图片不会也不应是罪魁祸首。Well, you have a long way to go and good luck to ya. :)


我们还没开启友好URL的时候,图片地址是这样: http://demo.mypresta.com/img/p/2-46-home.jpg

开启友好URL后的图片地址是这样:http://demo.mypresta.com/1-ipnod/iPod-shuffle.jpg,而且找不到这样图片路径,这样访问会不会变慢?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More