Updating CakePHP’s model Cache

CakePHP LogoThis one is a quickie.  If for whatever reason you need to change your database table in CakePHP, make sure you delete the model cache, or your change won’t show up in your application.

The model cache is located at:


The last one after the slash(/) is a file, and contains a not-very-legible schematic of your table.  Query filters will still find the column without deleting this cache, but reads, inserts and updates will not.

November 10, 2009 • Tags: , • Posted in: Technology

Leave a Reply