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 trial

WordPress The WordPress Template Hierarchy Custom Post Type Templates in WordPress Custom Post Type Templates Continued

Leigh Maher
Leigh Maher
21,830 Points

Solution to caching issue with MAMP

I had the same problem with caching. It's seems it's an issue with the current version of MAMP. The solution (which worked for me) is commenting out lines in the php.ini file which can be found in /MAMP Directory/bin/php/php5.5.3/conf/php.ini

[OPcache] ;zend_extension="/Applications/MAMP/bin/php/php5.5.3/lib/php/extensions/no-debug-non-zts-20121212/opcache.so" ; opcache.memory_consumption=128 ; opcache.interned_strings_buffer=8 ; opcache.max_accelerated_files=4000 ; opcache.revalidate_freq=60 ; opcache.fast_shutdown=1 ; opcache.enable_cli=1

Full details here: http://stackoverflow.com/questions/19348670/updating-php-files-slow-on-mamp

1 Answer

Jaime Rios
PLUS
Jaime Rios
Courses Plus Student 21,100 Points

Use Google chrome's dev tools, there in the network section, you can disable cache. I haven't had that problem but when testing for mobile, I use that approach.