CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Reporting Security Issues
    • Privacy Policy
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Get Involved
    • Issues (Github)
    • Bakery
    • Featured Resources
    • Training
    • Meetups
    • My CakePHP
    • CakeFest
    • Newsletter
    • Linkedin
    • YouTube
    • Facebook
    • Twitter
    • Mastodon
    • Help & Support
    • Forum
    • Stack Overflow
    • Slack
    • Paid Support
CakePHP

B CakePHP 5.x Chiffon Book

Language:
  • en
    • pt
    • es
    • ja
    • fr
Version:
  • 5.x
    • 5.x Book
    • 4.x Book
    • 3.x Book
    • 2.x Book
    • 1.3 Book
    • 1.2 Book
    • 1.1 Book

Improve This Doc

Page Contents

  • Cache Tool

Cache ToolΒΆ

To help you better manage cached data from a CLI environment, a console command is available for clearing cached data your application has:

// Clear one cache config
bin/cake cache clear <configname>

// Clear all cache configs
bin/cake cache clear_all

// Clear one cache group
bin/cake cache clear_group <groupname>
  • ← Running Shells as Cron Jobs
  • Completion Tool →

Preface

  • CakePHP at a Glance
  • Quick Start Guide
  • Migration Guides
  • Tutorials & Examples
  • Contributing
  • Release Policy

Getting Started

  • Installation
  • Configuration
  • Application
  • Dependency Injection
  • Routing
  • Request & Response Objects
  • Middleware
  • Controllers
  • Views
  • Database Access & ORM

Using CakePHP

  • Caching
  • Console Commands
    • Command Objects
    • Command Input/Output
    • Option Parsers
    • Running Shells as Cron Jobs
    • Cache Tool
    • Completion Tool
    • CounterCache Tool
    • I18N Tool
    • Plugin Tool
    • Schema Cache Tool
    • Routes Tool
    • Server Tool
    • Interactive Console (REPL)
  • Debugging
  • Deployment
  • Mailer
  • Error & Exception Handling
  • Events System
  • Internationalization & Localization
  • Logging
  • Modelless Forms
  • Pagination
  • Plugins
  • REST
  • Security
  • Sessions
  • Testing
  • Validation

Utility Classes

  • App Class
  • Collections
  • Hash
  • Http Client
  • Inflector
  • Number
  • Plugin Class
  • Registry Objects
  • Text
  • Date & Time
  • Xml

Plugins & Packages

  • Standalone Packages
  • Authentication
  • Authorization
  • Bake
  • Debug Kit
  • Migrations
  • Elasticsearch
  • Phinx
  • Chronos
  • Queue

Other

  • Constants & Functions
  • Appendices
openHub
pingping.io
Linode
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Reporting Security Issues
  • Privacy Policy
  • Logos & Trademarks
  • Community
  • Get Involved
  • Issues (Github)
  • Bakery
  • Featured Resources
  • Training
  • Meetups
  • My CakePHP
  • CakeFest
  • Newsletter
  • Linkedin
  • YouTube
  • Facebook
  • Twitter
  • Mastodon
  • Help & Support
  • Forum
  • Stack Overflow
  • Slack
  • Paid Support

Copyright ©2025 Cake Software Foundation, Inc. Last updated on Apr 23, 2025. Created using Sphinx 8.1.3.