set cache-control to external resources?

喜你入骨 提交于 2019-11-29 06:11:40
Corbin

You can't control the headers sent from a server that you don't control.

In other words, either host a copy yourself or there's nothing you can do about it.

You can grab the code from the resources and serve them from your site directly, in these way you can manage the cache, but if some update occurs from the sites related to the resources, you miss it, or you have to control everytime ..chose at your convenience.

You can try copy their scripts and host them youself. Just write a script and add it to cron to load new versions automaticly. Working on it now myself.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!