Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Konrad Pilch
Konrad Pilch
2,435 Points

CodeKit Caching

So:

"You have MAMP installed on your Mac. If MAMP has 'operation caching' (OPCache) turned on, you will not see changes as you modify PHP files because MAMP will continue serving the old, cached version of each page. Do you want CodeKit to automatically reconfigure MAMP to disable OPCache?

[No] [YES]

I have no idea what is this. What should I press?

I develop sites in PHP yes, such as WP and or static sites with include('header.php'); code .

3 Answers

Reconfiguring MAMP to disable OPCache sounds like the way to go. That way you don't have to worry about not seeing changes you make to your PHP files on your development machine. One less thing to worry about. ^_^

Tobias Helmrich
Tobias Helmrich
31,601 Points

Hey Konrad,

I don't really know too much about OPCache is but as far as I know you have to let CodeKit reconfigure MAMP in order to see changes live without reloading and you shouldn't worry too much about it. So if you want to see changes live in the browser while developing choose YES, I hope that helps! :)

Konrad Pilch
Konrad Pilch
2,435 Points

Thank you both :) I get it now. I just put it on yes ^^