Add expires to QR Code

After I added a QR Code and Cloudflare, my test results are saying that these don’t have expireds…how can I add expire dates to widgets and js?

Leverage browser caching of static assets: 89/100
FAILED - (No max-age or expires) - http://ajax.cloudflare.com/cdn-cgi/nexp/v=918368360/cf_tools.min.js
FAILED - (No max-age or expires) - http://qrcode.kaywa.com/img.php?s=6&d=http%3A%2F%2Fwww.goldenbearhomes.com%2F

http://www.webpagetest.org/result/110922_43_1P61Z/

Any ideas would be appreciated.

For the cloudflare-served js you should ping them and let them know. I expect it’s a bug or configuration problem on their side that the expires headers are not being sent (they appear to have a version in the URL).

For the QR code, I’d recommend just downloading the image and hosting it yourself instead of using the outside service to render it every time. That way you have more control over it and it doesn’t appear to be something that will change.

Thanks,

-Pat