• Assalam aleikum brother, has being a while may Allah bless you.

    I am using the code for “the next prayer” and excluded the page where the code displays from the caching plugin. Everything is fine as long as the caching is disactivated otherwise the prayer timer won’t display properly. Then activated the cloudflare CDN however there is no option to exclude CDN from that page where the prayer timetable and the prayer countdown are displayed. Which indeed led them specially the timer to behave in fanny way. I tried all the main browsers and it does not give the real time as expected when using CDN severs allover the world. But the timer stays static or when refreshing the page it starts from 1h. In any case with all browsers it is clearly an issue with CDN.

    Is there anyway to add some code or something to exclude the codes of your plugin from being dealing with CDN cache?

    Jazaakum Allah khayran

Viewing 1 replies (of 1 total)
  • Plugin Author mmrs151

    (@mmrs151)

    Assalamualaikum.

    Sorry for the long delay in replying somehow, I missed it.

    The purpose of CDN is not to make continuous requests for the same content. A web page that needs to display time can not be cached, which defeats the purpose.
    The mobile/monitor pages purge all caching on my plugin, but the same can not be achieved for other pages. Since people can use my system in different areas of the website.

    Mustafiz

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.