Ask Question Sign In Sign Up
Home
Sign In
Sign Up
  • Home
  • >
  • Technology
  • >
  • How can we disable or enable cache globally in CakePHP?
Arts Real Estate Legal Human Resources Retail Building & Construction Discussion Sales & Business Development Education Media Healthcare Technology Marketing Common Job Roles
Category
Arts
Real Estate
Legal
Human Resources
Retail
Building & Construction
Discussion
Sales & Business Development
Education
Media
Healthcare
Technology
Marketing
Common Job Roles

How can we disable or enable cache globally in CakePHP?

Member

kody.wyman

by kody.wyman , in category: Technology , 3 years ago

How can we disable or enable cache globally in CakePHP?

0 | 0
0
Facebook Twitter LinkedIn Telegram Whatsapp

1 answer


Member

rosalinda

by rosalinda , 3 years ago

@kody.wyman We don't need to disable all Cache read & writes and to expiration. We can do this using enable() and disable():

1
2
Cache::disable();
Cache::enable();


0 | 0
0
15

Related Threads:

How we can use Cache in CakePHP?

How to write a Cache Object in CakePHP?

What Are the Benefits Of Using Laravel for Web Development?

How to Troubleshoot Common Issues During Magento Deployment?

What Are the Best Practices for Optimizing Mysql Queries?

How Long Should a Beginner Exercise on a Rowing Machine?

About us

  • Contact us
© 2025 Copyright: theinternettoday.net

This Site is Created By mywebforum.com

Get Your Own Questions & Answers platform