Skip to content

Instantly share code, notes, and snippets.

@jeremyfelt
Created December 5, 2012 19:14
Show Gist options
  • Save jeremyfelt/4218628 to your computer and use it in GitHub Desktop.
Save jeremyfelt/4218628 to your computer and use it in GitHub Desktop.
When developing locally with APC enabled, you might be inclined to clear cache forecefully lest you go crazy.
<?php
apc_clear_cache();
apc_clear_cache( 'user' );
apc_clear_cache( 'opcode' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment