Local serving cached PHP content despite file changes - cache won't clear

Local is serving old cached PHP content even after making changes to files, stopping/starting the site, and waiting extended periods

System Details

  • Local Version:Local by Flywheel (latest version)

  • Operating System (OS) and OS version: Mac OS 15.6.1 (24G90)


Local Logs

I checked the Local logs and see normal startup messages (MySQL, nginx, certificates) but no cache-related errors or warnings that would explain why PHP file changes aren’t being reflected.


Local is serving cached PHP content despite file changes. The file on disk has been updated multiple times, but Local continues to serve an old cached version of the PHP output. This persists even after:

  • Stopping/starting the site and waiting in-between.

  • Restarting Local completely

  • Waiting overnight

  • Hard browser refresh

  • Different browsers

  • Changing version numbers in code

The logs show normal startup but no cache-related errors. Is there a Local-specific server-side cache that needs manual clearing?"

Any help would be appreciated. Thanks, Kevin

Hey @KevinCollins!

What sort of PHP changes are you making that aren’t updating? Could you provide some more insight into what you’re adjusting and how?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.