Add expire and cache-control to the cdn files
Right now the files served from your CDN at least jquery.validate are served without an Expires or Cache-Control max-age
What this means is that every request has to recheck the files and get a 304 which delays page rendering.
For now it looks like I will have to use jquery.validate from elsewhere I just wanted to use a CDN to increase the chance of the file being cached but with no chance of it really being cached (and saving a round trip) there is not much point in using the microsoft CDN right now.
I actually have a video that covers why this is important that I made for a class http://ontwik.com/python/permanent-url-caching/
4
votes