问题原文
原帖链接 · Archimedes Trajano · CC BY-SA 3.0
Google Tag Manager's JS file is not "cached" normally and requires an extra connection to another server (i.e. new SSL handshake and DNS call).
I was wondering is it beneficial to do an Apache proxy cache to the file and refer to it locally setting the caching settings to something more well defined.
已采纳解答
原帖链接 · Karan Shah · CC BY-SA 3.0
gtm.js is a dynamic library whose contents change with every container version publish. Thus it's not something you should even try to cache, or else your updates to the container might not be recognized by the browsers of returning visitors.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
