Using CDN with Newsmag theme

Posted in: Newsmag
Post count: 28

Hi,
I use (tagDiv) Block 1, and it was working fine displaying my post radome But then I changed to using a CDN to speed up my website now the Radome post has stopped working and just stay on the same post even when I clean catch.
Is there a way of showing different post when using a CDN on my website I see on your(tagDiv) Block 1 widget it says”How to sort the posts. Notice that Popular (last 7 days) option is affected by caching plugins and CDNs. For popular posts, we recommend the jetpack (24-48hrs) method” But I’M not sure how to do it what’s the best way to go.
Paul..

Post count: 9544

CDN’s work the samw with all WordPress themes, it’s not specific to this single theme.

However the theme docs might be useful:
https://forum.tagdiv.com/cloudflare-cdn/

Post count: 28

Hi,

I should say I use wp-engine with their CDN so that does not help.
Thank’s
Paul.

Post count: 9544

I guess the docs are saying that if you’re loading the posts off of a CDN then the theme cannot “count” which posts are most popular as not being loaded locally, so the “most popular” function won’t work.

TagDiv wlll be back Monday 🙂

Post count: 6600

Hello @ptec1,

Unfortunately we have not tested the theme with wp-engine’s CDN so I can’t give you any guidings on this and can’t provide a precise answer or guarantee it will work.

Theme’s bad functionality when using cdn may occur due to its configuration. As Chris also pointed we have tested and offered a cdn configuration for Cloudflare’s CDN so you could check our guidings on its configuration and make sure you use similar settings for your wp-engine CDN, this may solve your problem.

I suggest you also try this without plugins as this may also occur due to other plugins.

Let us know if you need any additional informations concerning the theme on this. You can also address this to wp engine’s support as they may have a solution for this.

Hope you’ll find this useful!

Thank you!

Post count: 28

Hi,

I have gone back to wp-engine about my cdn affecting my plugin and they said :

I’ve looked over the link you provided and those setting look to be specific to Cloudflare. I see the domain name is using the WP Engine CDN; I reviewed the link fully but I didn’t see any comparable settings I could adjust on our CDN for you.

For caching issues, we can set a cache exclusion on our end. This will prevent our server from caching the page and deliver an up to date version. We would need to know the specific URL this issue occurs on in order to set the exclusion. If the issue is specific to the theme, the theme developer may already know which paths this needs to be done for.

If you can let us know what paths to exclude, we’ll be happy to do so. Please let me know if you have any additional questions.

And then
You would need to work with the theme developer to see if there’s a particular cookie or argument that can be excluded from caching that perhaps controls the random menu. If so, we can certainly exclude that, but we cannot exclude the entire homepage.

I look forward to a answer on this

Paul…

Post count: 6535

Hi

A possible solution at this issue would be to exclude from cache all pages where you’re using blocks with Random filter. I am not sure why your host provider said that he can’t exclude the entire homepage from being cached but at the moment we can’t offer a better alternative at this.
Here I found some informations which may help you bin order to exclude a specific page from being cache: https://support.cloudflare.com/hc/en-us/articles/200172316-How-do-I-exclude-a-specific-URL-from-CloudFlare-s-caching-

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.