Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGabriel Luethje
6,314 PointsPlugin 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?
1 Answer
Gabriel Luethje
6,314 PointsI 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.