Plugin options page not updating...?
I'm having a frustrating issue as I work through this WordPress Plugin course: When I make changes to the plugin files, they don't always show up right away on the admin options pages. It's like things are being cached or something.
I'm working locally with MAMP 3.0, in case that has something to do with it.
It makes it tough to tell if I'm doing things right when my changes don't show up. It seems like if I wait long enough, something like 30 seconds to 1 minute, then my changes will get picked up, but sometimes the changes show up right away.
Has anyone else experienced this?
I think I figured out the answer. I dug into MAMP's PHP settings and noticed that OPcache is enabled by default. I turned that cache setting to "off" and things seem to be working as expected now.
If things get slow and I want OPcache turned on, I also found the OPcache Dashboard plugin, which looks handy.