New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use local copy of jquery-min #215
Comments
There are quite different views on this. For example, one might consider browser caches, and https://jquery.com/download/#using-jquery-with-a-cdn :
|
Most of that page is not relevant because you're using the minimized version, you're pinning to a particular version, and you are already using a CDN. You do know who I work for, right? :) |
I know who you work for. However, if a browser sees a reference to code.jquery.com and another to www.openssl.org, it will load it twice, even if pinned on the same version. Nothing of what you said contradicts that. |
Even if the link is the same, the browsers now separate the cache by origin so it will be loaded twice. Shrug. A minor optimization. Feel fee to close if you disagree (but you're wrong :) |
inc/head.shtml, which is included by just about every file on the site, has these lines
You should replace them with this single line:
This will use the cached script and not go to a central site to download a file that is, well, already on your site. :)
ping @levitte
The text was updated successfully, but these errors were encountered: