Cloudflare APO + NewsPaper theme conflict

Posted in: Newspaper
Post count: 65

Hello Team,

I’m using Cloudflare CDN which is working really great.

Recently I had activated Cloudflare ‘APO’ future which is super fast. I’m using shared server so this future is very useful for me.

Even I don’t need to upgrade my server for higher cost. This 5$ APO future is giving complete satisfaction.

I have problem with mobile Vs desktop themes.

If I’m using Mobile theme its mixing with desktop version which means In Desktop its showing with mobile theme instead of desktop version.

In mobile view I’m able to see Mobile theme as well as desktop theme. Its mixed content and looking bad.

I have tried to clear the Cache multiple times but it didn’t solve the issue.

Hence, to resolve the issue I have deactivated the Mobile them to see same theme in both places (Desktop and Mobile) without mixed theme.

Its working fine now but with mobile theme it was lightening speed but with desktop theme its just fast. I can feel the difference with mobile theme.

I believe its (Cache) compatibility issue with Newspaper theme because I had similar problem with ‘WP Super Cache’ but after clearing the cache it worked fine.

Now I have removed ‘WP Super Cache’ and using Cloudflare APO cache but facing mixed theme issue If I used both themes.

If you could solve the compatibility issue then it would be great help for Newspaper theme users since its massive speed with Cloudflare APO + Newspaper mobile theme.

Thank You
Giri

Post count: 35449

Hi,
The problem when you are using the mobile theme can be that the Cloudflare ‘APO’ do not understand that you use two themes, one for desktop and one for mobile, therefore it is delivering the last cache that was made. Using ‘WP Super Cache’ with the settings from this guide -> https://forum.tagdiv.com/cache-plugin-install-and-configure/ you can use an option for mobile devices -> https://i.imgur.com/6eZocyn.png in this way the cache plugin will know if you are using the mobile or desktop and will provide the proper cache. Also we have a guide for CDN here -> https://forum.tagdiv.com/cloudflare-cdn/
Now is possible that Cloudflare ‘APO’ to do not have such an option, then an alternative solution only for mobile is to use the new option to create mobile pages and mobile templates with tagDiv Composer -> https://i.imgur.com/t4rw8Ib.png in this way you can set only the content you want to display on mobile and there should be no problems with Cloudflare APO. You can check some more details about this new option in our guide from here -> https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/
Hope this will help you!
Let me know the results!
Thank you!

Post count: 65

Thank You Calin for your response.

Yes I completely agree what you are saying.

I had checked Cloudflare forum, and they are saying it’s not possible to configure APO in every plugin since tons of mobile plugins are around.

As well, they are working on the issue –> https://community.cloudflare.com/t/wordpress-apo-and-mobile/211462

There are two options

1. Cloudflare has to enable mobile support like ‘W3 Super Cache’ or giving mobile theme support to Newspaper theme.

2. Newspaper theme has to take initiative to solve the issue.

I’m badly missing Newspaper Mobile theme lightening speed in Cloudflare APO.

Regarding “create mobile pages and mobile templates”

I’m not interested to do because always standard Mobile theme plugin will be good for anything.

Custom mobile theme will be giving trouble and compatibility issues which I don’t want.

I really liked Newspaper Mobile theme.

I thought Newspaper mobile / desktop theme was a bit heavier but once I started using the Cloudflare APO only realized how fantastic theme Newspaper is.

I’m not saying jus for a sake. Its (Mobile theme) really lighter and lightening fast with APO (even with shared server)

I request you to consider fixing the issue with Cloudflare APO. Newspaper theme is one of the leading themes so hope it will be solved soon.

Thank You in advance

Giri

Post count: 35449

Hi giriraj, I note this on our list for and I hope that our developers will check the Cloudflare APO and see if they can find an work around for mobile theme.
Hope that we’ll got good news from our developers soon!
Thank you for your kind works and we’ll try our best to improve our theme!
Have a nice day!

Post count: 65

Thank You Calin for considering our request.

If Newspaper theme developers given a solution for us then it will be great help!

As you mentioned we are expecting good news soon from developers.

Giri

Note: If Newspaper / Cloudflare team has fixed the issue, Pls update the status here so that we can start using the mobile theme.

Post count: 65

Hello Calin and Team,

Hope you are working on this request.

Google PageSpeed Insights is giving bad score if I’m using desktop theme for mobile, so I have changed again to Mobile Theme and the score is looking good, but I couldn’t use the Cloudflare APO due to above issue.

Hope you know that Google is going to do the Mobile first indexing from May 2021, so it’s very important for NewsPaper theme users.

I request you to follow-up with your developers and bring the update in upcoming release.

Thanks
Giri

Post count: 18283

Hello !

Unfortunately at the moment there is no delivery date for this. This is on our suggestion list and they have taken in consideration. As for the new 2021 Google plans and request our team is already working on making the Newspaper Theme better so there should be no issues in the following updates.

Thank you for your patience !

Post count: 623

@giriraj

Try adding the following code to the root .htaccess file and check if that helps.

<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
</IfModule>

All the best.

Post count: 65

Hello Amit,

Thank You for your update.

I have unsubscribed the Cloudflare APO due to compatibility issue. Again If I can get the subscription only I can test the code.

May I know the details of the code? What the code will do?

BTW Thank you for your suggestion on your Blog which was really helpful and improved the performance and Google PageSpeed Insights score.

Thanks
Giri

Post count: 65

Hello Team,

Cloudflare added the future called “Cache By Device Type” which is solved the APO theme conflict issue.

Jus FYI

Thanks
Giri

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