Home › Forums › WordPress Plugins › Hide My WP › Problem with CDN
- This topic has 11 replies, 2 voices, and was last updated 9 years, 9 months ago by
Suman M..
-
AuthorPosts
-
May 7, 2015 at 3:45 pm #2569
Problem with CDN I’ve added
domain.com/SKIN/=cdn.domain.com/SKIN/ domain.com/STORAGE/=cdn.domain.com/STORAGE/ domain.com/LIB/=cdn.domain.com/LIB/ domain.com/MODULES/=cdn.domain.com/MODULES/
but when testing in pingdom its taking 3 times longer to load and adding the old domin in front of it e.g
http://domain.com/cdn.domain.com/SKIN/
shouldnt it show as http://cdn.domain.com/SKIN/May 8, 2015 at 5:19 am #2576Hi, please follow these steps:
1) goto HMWP >> ‘Start’ Tab >> ‘Medium Pripacy – More Compatibility’
scheme >> click ‘Save Settings’Note: Assuming that it’s WP single site and Apache server. Your site’s htaccess file should be writeable.
2) in “replace in html” option box, add following lines:
http://www.domain.com/skin/=cdn.domain.com/skin/
http://www.domain.com/file/=cdn.domain.com/file/
http://www.domain.com/other/=cdn.domain.com/other/
http://www.domain.com/ext/=cdn.domain.com/ext/And yes, it should be http://cdn.domain.com/skin/ in your website page source
May 8, 2015 at 6:29 pm #2588ok the site is fittabodiesgym.com
ive addedfittabodiesgym.com/skin/=fittabodiesgym.puddesign.netdna-cdn.com/skin/
fittabodiesgym.com/file/=fittabodiesgym.puddesign.netdna-cdn.com/file/
fittabodiesgym.com/other/=fittabodiesgym.puddesign.netdna-cdn.com/other/
fittabodiesgym.com/ext/=fittabodiesgym.puddesign.netdna-cdn.com/ext/but as you can see
http://tools.pingdom.com/fpt/#!/cInaLa/http://fittabodiesgym.com/
some files aren’t going to CDN
May 9, 2015 at 4:16 am #2590Hi, also add this line please:
fittabodiesgym.com/skin_main/=fittabodiesgym.puddesign.netdna-cdn.com/skin_main/
May 9, 2015 at 10:19 am #2595getting better
http://tools.pingdom.com/fpt/#!/bvgNi3/http://fittabodiesgym.com/
there still some not chaching on the CDN ive tried flushing teh pull zone
is HMWP leaving these out intentionally?
May 11, 2015 at 7:19 am #2607When I checked the website page source, everything looks good. For example: http://fittabodiesgym.puddesign.netdna-cdn.com/other/js/jquery/jquery-migrate.min.js
May 11, 2015 at 11:23 am #2613May 11, 2015 at 2:59 pm #2614If you check the page source, these two files’ URL is:
http://fittabodiesgym.puddesign.netdna-cdn.com/skin_main/inc/assets/css/blue.min.css
http://fittabodiesgym.puddesign.netdna-cdn.com/other/js/jquery/jquery.jsMay 19, 2015 at 4:40 pm #2677it does load a bit slower with hide wp on
with it on
http://tools.pingdom.com/fpt/#!/cpwvKe/fittabodiesgym.com
with it off
May 20, 2015 at 6:52 am #2684That’s a minor difference (less than a second) and could be various factors adding upto it. But if you see, performance grade has increased from 74 to 86.
May 20, 2015 at 8:13 am #2686well yes but that’s a 50% increase in load times
May 20, 2015 at 8:34 am #2687Please check this FAQ – http://codecanyon.net/item/hide-my-wp-no-one-can-know-you-use-wordpress/4177158/faqs/16071
-
AuthorPosts
You must be logged in to reply to this topic.