I have a core few functions that add / edit / delete records in app_controller.
Now when I add / edit / delete a record it will not delete the cached file. I even tried using the afterSave() afterDelete() in the respective model for each, even hardcoded the
Cache::delete( ‘all_tests’, 'week'); but nothing seems to delete these files.
I am able to make a cached record from app_model but cant delete them from app_
Is there a reason it will not work in app_? Something I am missing?
Dave
No comments:
Post a Comment