Site not pulling most recent PHP file

Website URL

Vizedge.co.uk

Other Information

I have uploaded the most recent PHP to my file manager within InfinityFree - When I log in to my live website to view the changes it hasn’t pulled the new version through, only showing the old version.

I have forced a cache clear within Cloudflare and if I use the no cache?= function the new version shows but for some reason no matter if I try a different machine, different login etc it seems to pull the old version.

What could be causing this?

EDIT - The old version no longer exists in the file manager only the new version.

Thanks,
Jordan

Go into cloudflare and turn on den mode, visit your site then turn off Dev mode and visit it again. This usually works for me

I have given this a try and the old version still shows

Can you try using an incognito browser session just to make sure you’re browser isn’t caching anything it shouldn’t

Same issue when in incognito mode on 2 different browsers

This is what I see. Is that the old or new version of the site?

The above is the old version - the data shown is dummy data for testing purposes - This is the version that gets shown when logged in.

This is the new version which shows if I use the no cache? at the end of the URL and want to show all the time.

We don’t cache PHP output at all because we know it’s dynamic, and Cloudflare doesn’t cache any HTML output because it might be dynamic (Cloudflare doesn’t know if a static HTML file was loaded or a PHP script).

I checked your website and it looks like you’ve built this project on top of WordPress, and you do have a caching plugin installed in WordPress. If it is a caching issue, my money is that the caching plugin is the cause.

Please try clearing the cache in the plugin and see if that helps.

Thanks! This fixed it!