How to exclude menu/naviation items from cache

Posted in: Newspaper
Post count: 237

Hello

I need to know how to exclude my navigation menu items from cache.

When I turn on cloudflare APO, my drop down menu arrows wont work on the front page. They will work on every other page, But for some reason not on the front page of my site http://www.techbusinessnews.com.au

No need to mention rocket loaders or other things. I know about them.

You will see the blue menu on my site. When I turn on APO the drop down arrows cannot be clicked to bring down the menu. When I turn off APO the issue resolves

So this must be to something to do with cache and scripts

I am using litespeed plugin (no I will not change to your recommended because I have a litespeed server)

Please tell me, how can i exclude the menu items from cache, so I can have APO turned on and the menu also working

litspeed plugin has cache exclude sections and options. But what to out in here to stop caching of this menu script

Post count: 35449

Hello,

If you use a cache plugin that allow to exclude js files, then please try to exclude those files:

/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray

I hope this will help you!
Thank you!

Post count: 237

This did not work.

Still not able to select the drop down menu items when turning on APO

Strange thing. It only happens to the front page. When clicking into an article. The drop down menu items will work okay.

So what is this problem?

Post count: 35449

Hi,
I understand.
Can we do a test? To have the cloudflare APO and with the above js exclude to can inspect it to see what can interfere.
Thank you!

Post count: 237

Hello

This is a very hard request to deal with simply because of the time it takes support to look at come back to me. I can’t just turn on APO, have my menu not working for my visitors for hours on end while waiting for someone to have a look and get back to me.

How can this be timed?

Post count: 35449

Hi,
What can be done is to contact us via email (contact@tagdiv.com) and establish the moment when both you and he can check this problem (for example, Monday at 12 o’clock utc2).
Thank you!

Post count: 237

Hello

I have also found

When I turn on Google Fonts and have APO turned on I can get the menu fonts to change just fine. Howhver,the menu fonts wont actually change in the (front page only) when I turn o APO. With APO turned off and google fonts turned on. the fonts in the front menu and all other pages in the menu show just fine. But. As soon as I turn ON APO. The google fonts for thr front page menu ONLY wont show But shows fine on all other pages.

Something wrong with this front page header section I tink when it comes to caching. But all other pages will work just fine

Post count: 35449
Post count: 237

Thanks

None of the information provided is gives me a single clue or resolution to my issue

Post count: 35449

Hi,
I see, what I can suggest in this case is to torn off the google fonts and use a custom fonts -> https://forum.tagdiv.com/font-customization/ in this way the website will load less external resources and should became a little faster then before.
I hope this will help you!

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