Notifications not updating on social media site


#1

I have a social media site with notifications. the notifications are only showing the same old notifications and no new ones. I was told by the plugin that the notifications are being served by cloudflare. they suggested I whitelist a URL from being served how can I do this. or could there be another issue causing this problem.

Hi Jesse,

It seems that the notification content is still served from Cloudflare (CDN) which means it doesn’t get the latest result. See the attached screenshot.

You might want to whitelist this URL below from Cloudflare, so it won’t be cached and always get the latest content:
https://adultalternativelifestyle.com/peepsoajax/notificationsajax.get_latest


#2

Try a page rule like:

After that purge the cache on your dashboard. Give it some time to propagate within the network.


#3

thank you for that. I am starting to believe Cloudflare is doing what it suppose to be doing and the problem lies somewhere else but I will add that page rule though. Thanks a lot.


#4

Can you try going to the Overview section and putting your domain into Development Mode (Quick Action button)? That will leave you with most of the protection, but more live data.


#5

I tried that but no success. I should say I am also using Super Progressive web App which I think may be what started the problem in the first place.


#6

actually the site works when I run a script that supposedly force cloudflare to get the latest information so the problem may lie with cloudflare. when I run this with my site open the site updates and displays correctly

https://adultalternativelifestyle.com/peepsoajax/notificationsajax.get_latest?page=1&per_page=5&unread_only=0

Here is a screen shot of what my other support says is the problem. cloudflare is serving this

https://p13.zdusercontent.com/attachment/1929076/gwiCnjYFY8yUSc2ll5gdhfotB?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..Dsd6AnCwI8p9U1km5uuUvg.vkAyxbMZAhEdjc0UiyHN8PZUqX1RWJolgZR56fvgNwXyPAuno0mXGLGpdfS3e7F3i32aEnhS5GsMALZBb4D6O-_HeWxrFaUztjtHJgbTyfWC5tIFQ6UPCh-z6fzkrPUk4mQ1AMEPYgYygo3ByRfmvGsszkMgI5JQcOWvnXwJK6NYbCQbbPA_2NtmMhLf6l5gKdYiIIQvmRsTinEM2rSESRB-SyRsfb6wgXlI3rdYARS5JCvHFXIL--zMeE3ETMM48yvspi_8YT1QkxZqhQb_IFn_54q6KG6IxeXJAEXarYw.EuUWtzo2wjFphOR3Fh-ztw

Also to note the page displays all latest updates when I purge my browser cache