You can use the PHP function apc_clear_cache
.
Calling apc_clear_cache()
will clear the system cache and calling apc_clear_cache('user')
will clear the user cache.
More Related Contents:
- What is causing “Unable to allocate memory for pool” in PHP?
- Memcached vs APC which one should I choose? [closed]
- Opening/closing tags & performance?
- Is micro-optimization worth the time?
- what is faster: in_array or isset? [closed]
- How to clear browser cache with php?
- How to disable XDebug
- What’s quicker and better to determine if an array key exists in PHP?
- Setup HTTP expires headers using PHP and Apache
- Preventing Caching of CSS Files
- apc vs eaccelerator vs xcache
- Will enabling XDebug on a production server make PHP slower?
- Efficiently pick n random elements from PHP array (without shuffle)
- FOR loop performance in PHP
- What’s the performance cost of “include” in PHP?
- Why is calling a function (such as strlen, count etc) on a referenced value so slow?
- failed to open stream: HTTP wrapper does not support writeable connections
- Is APC compatible with PHP 5.4 or PHP 5.5?
- Performance of static methods vs. functions
- for loop vs while loop vs foreach loop PHP
- SQL & PHP – Which is faster mysql_num_rows() or ‘select count()’?
- MySQL Stored Procedure vs. complex query
- MySQL Query IN() Clause Slow on Indexed Column
- Laravel 5 Clear Views Cache
- PHP 5 Reflection API performance
- Which is faster? Constants, Variables or Variable Arrays
- Limit download speed using PHP
- prevent browser back button cache
- Reload the page on hitting back button
- Escape HTML to PHP or Use Echo? Which is better?