By Sean Carney on Wednesday, 18 June 2014
Posted in General Issues
Replies 3
Likes 0
Views 1.8K
Votes 0
For my site at https://www.starch-smart.com I am getting a bad report regarding our effective use of a CDN. Interestingly they are picking on all EasySocial objects as you can see in my report I will paste below. I believe the first section is probably up to me to change something in my .htaccess file ((No max-age or expires)) but the other section looks like some easy social files that are not using the CND. Is this a bug or a feature? :

Leverage browser caching of static assets: 55/100

FAILED - (No max-age or expires) - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - (No max-age or expires) - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/foundry/3.1/scripts/checked.min.js
FAILED - (No max-age or expires) - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - (No max-age or expires) - https://fonts.googleapis.com/css?family=Open+Sans:400,600,300%7C&subset=latin
FAILED - (No max-age or expires) - https://www.starch-smart.com/?option=com_easysocial&_ts=1403048324322
FAILED - (No max-age or expires) - https://www.starch-smart.com/?option=com_easysocial&_ts=1403048324322
FAILED - (No max-age or expires) - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_password/scripts/registermini_content.js
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_fullname/scripts/content.js
FAILED - (No max-age or expires) - https://d1eie3fs4r8rkl.cloudfront.net/media/foundry/4.0/scripts/plupload.min.js
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/foundry/3.1/styles/fancybox/default.min.css
FAILED - (No max-age or expires) - https://s3.amazonaws.com/starch-smart/media/com_easysocial/avatars/users/938/646cc3a4dc819e3d910a033b7a953c10_medium.jpg
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/foundry/3.1/scripts/bookmarklet.min.js
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/foundry/3.1/scripts/checkList.min.js
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_email/scripts/registermini_content.js
FAILED - (No max-age or expires) - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_username/scripts/registermini_content.js
FAILED - (No max-age or expires) - https://s3.amazonaws.com/starch-smart/media/com_easysocial/avatars/users/939/3e0efda3ba1e5105ea6335124ee5a1fb_medium.jpg
WARNING - (60.0 minutes) - https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js

Use a CDN for all static assets: 61/100

FAILED - https://www.starch-smart.com/media/foundry/3.1/styles/fancybox/default.min.css
FAILED - https://www.starch-smart.com/media/foundry/3.1/scripts/bookmarklet.min.js
FAILED - https://www.starch-smart.com/media/foundry/3.1/scripts/checkList.min.js
FAILED - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_username/scripts/registermini_content.js
FAILED - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_email/scripts/registermini_content.js
FAILED - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_fullname/scripts/content.js
FAILED - https://www.starch-smart.com/media/com_easysocial/apps/fields/user/joomla_password/scripts/registermini_content.js
FAILED - https://www.starch-smart.com/media/foundry/3.1/scripts/checked.min.js
FAILED - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - https://www.starch-smart.com/?option=com_easysocial&tmpl=component&no_html=1&controller=foundry&task=getResource
FAILED - https://www.starch-smart.com/?option=com_easysocial&_ts=1403048324322

CDN's Used:
d1eie3fs4r8rkl.cloudfront.net : Amazon CloudFront
d3lu7sy9mrs0pu.cloudfront.net : Amazon CloudFront
ajax.googleapis.com : Google
fonts.googleapis.com : Google
themes.googleusercontent.com : Google
Hello Sean,

I really think that these are false positive reports because they are actually simply just AJAX calls that are made to the site at the back end and it cannot be cached because if those are cached, you will eventually hit issues with old contents keep re-appearing.
·
Thursday, 19 June 2014 01:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah... interesting... thanks for letting me know!!!
·
Thursday, 19 June 2014 05:44
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem
·
Thursday, 19 June 2014 10:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post