WP Super Cache CDN settings

Posted in: Newsmag
Post count: 4

Hi,
I have recently created a site: http://www.almosthuman.cn . I am trying to increase the speed of the website using CDN. There is a setting in WP-Super-Cache to simplify the CDN configuration.

CDN prototype: http://cdn1.almosthuman.cn/wp-includes/js/prototype.js
Off-site URL is set to http://cdn1.almosthuman.cn
Directory is the default: wp-content, wp-includes
Exclude extentions: .php

The problem is the homepage static files are not served from the CDN.
– Homepage url: http://www.almosthuman.cn/
– chrome developer tool->sources shows almost all content being served from http://www.almosthuman.cn/
– this bug is only apparent with clean cache on first load

The CDN seems to be working fine for http://www.almosthuman.cn/news/
– opening up , we can see wp-content and wp-includes being served by cdn1.almosthuman.cn

Then if I go back to the home page: http://www.almosthuman.cn/
– everything is normal again, content is served from cdn1.almosthuman.cn

Is this a WP-super-cache bug or there is some configuration error in Newsmag which I can fix?

Thanks
Jack

Post count: 6600

Hi,

I can see almost all resources from wp-content and wp-includes loaded from cdn: http://screencast.com/t/rkeBAc2jNnRLhttp://screencast.com/t/JgvYKF4cdE2b

Please note that you need to escape some resources from cdn like theme’s fonts. You can find more details and fix in this topic: https://forum.tagdiv.com/topic/search-bar-icon-missing/

We haven’t tested the theme with cdn however it should using a proper configuration so if you don’t have experience on using cdn please contact a freelancer to help you configure it or search for tutorials online as we can’t offer other cdn configuration support.

http://www.wpbeginner.com/beginners-guide/how-to-install-and-setup-wp-super-cache-for-beginners/
https://www.maxcdn.com/one/tutorial/setup-wordpress-with-wp-super-cache/

Hope this helps!

Thanks for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.