Flushing Codeigniter's Cache Or Deleting Caches Inward Codeigniter
Enabling together with deleting caches inward Codeigniter is fairly straightforward together with easy. In this post, I am writing near deleting caches. You no longer involve to delete caches manually inward Codeigniter 2.x version. If yous no longer want to cache a file inward Codeigniter yous tin destination take away the cache files. Following are 2 methods to create it. Clearing all cache You tin destination clear the entire cache directory past times calling $this->output->clear_all_cache(); Note: This volition non take away the .htaccess together with index.html files inward the applications/cache folder. //Clears all cache from the cache directory $this->output->clear_all_cache(); This method returns NULL. Clearing a cached path You tin destination clear whatever specified path of its cache past times calling following method. //Clears the cache for the specified path $this->output->clear_path_cache($uri); This meth...