Mod pagespeed 我在页面优化时面临mod_pagespeed图像重命名问题
我已经在我的网站上实现了mod_pagespeed。但它优化了图像,将名称更改为很长的文件名。这会影响搜索引擎优化吗?因为我从图像搜索中获得了良好的流量 此映像是否可以在配置文件中的某些位置重命名。我正在使用最新版本的页面速度(1.8…)Mod pagespeed 我在页面优化时面临mod_pagespeed图像重命名问题,mod-pagespeed,Mod Pagespeed,我已经在我的网站上实现了mod_pagespeed。但它优化了图像,将名称更改为很长的文件名。这会影响搜索引擎优化吗?因为我从图像搜索中获得了良好的流量 此映像是否可以在配置文件中的某些位置重命名。我正在使用最新版本的页面速度(1.8…) 非常感谢您的帮助。我的服务器目前运行的是PageSpeed版本1.8.31.4-4056。在我们的pagespeed.conf文件中,我看到以下条目: # Many filters modify the URLs of resources in HTML fi
非常感谢您的帮助。我的服务器目前运行的是PageSpeed版本1.8.31.4-4056。在我们的pagespeed.conf文件中,我看到以下条目:
# Many filters modify the URLs of resources in HTML files. This is typically
# harmless but pages whose Javascript expects to read or modify the original
# URLs may break. The following parameters prevent filters from modifying
# URLs of their respective types.
#
# ModPagespeedJsPreserveURLs on
# ModPagespeedImagePreserveURLs on
# ModPagespeedCssPreserveURLs on
看起来如果取消注释最后三行,URL将被保留。然后,您必须重新启动Apache
我在这里找到了一些有关设置的文档:
不幸的是,保留URL会禁用其他一些有用的功能