慕运维5446948
2017-11-17 10:49
cdn真的好神奇
source src1
{
type = mysql
sql_host = localhost
sql_user = root
sql_pass = root
sql_db = allchips_test
sql_port = 3306 # optional, default is 3306
sql_query = select * from products
#sql_attr_uint = id
#sql_attr_timestamp = date_added
sql_field_string = product_id
sql_field_string = partNo
}
source src2
{
type = mysql
sql_host = localhost
sql_user = root
sql_pass = root
sql_db = allchips_test
sql_port = 3306 # optional, default is 3306
sql_query = select * from product_prices
}
cdn就是为网页的静态文件提供加速的,其实我觉得他更大的意义应该是隐藏源站ip,能有有效避免恶意攻击
提供缓存
提供网站加速
CDN与智能DNS原理和应用
17686 学习 · 14 问题
相似问题