码迷,mamicode.com
首页 > 其他好文 > 详细

Liferay 6.2 改造系列之十一:默认关闭CDN动态资源

时间:2016-08-19 18:42:37      阅读:115      评论:0      收藏:0      [点我收藏+]

标签:

在行业客户中,一般无法提供CDN服务,因此默认关闭CDN动态资源功能:

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置:

#
# Set this to true to enable serving dynamically generated CSS, JavaScript,
# and images via a CDN. Setting this to false allows the usage of CDNs that
# do not support lazy loading of resources (e.g. Amazon CloudFront).
#
cdn.dynamic.resources.enabled=true

修改为:

#
# Set this to true to enable serving dynamically generated CSS, JavaScript,
# and images via a CDN. Setting this to false allows the usage of CDNs that
# do not support lazy loading of resources (e.g. Amazon CloudFront).
#
cdn.dynamic.resources.enabled=false

  

Liferay 6.2 改造系列之十一:默认关闭CDN动态资源

标签:

原文地址:http://www.cnblogs.com/luoruiyuan/p/5788575.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!