cache model files in app\tmp\cache\models\
I set config
Cache::config('default', array(
'engine' => 'File',
'duration' => 3600000,
'serialize' => false
)
);
why model seem only cache in 3s , if > 3s it reloading model. ( because my app loading >4s if i dont cache , if I refresh page in <3s it loading only 1s, but if >3s it loading >4s. I assumes slow loading because app model in plugin )
WHY I SET duration 3600000 or '+5minutes' it still cache <3s model file
AND serialize => false it still serialize ( i checked in file )
AND error usually happen is
C:\xampp\htdocs\myapp\app\tmp\cache\models\cake_model_default_poll_votes) [function.fopen]: failed to open stream: Invalid argument [CORE\cake\libs\file.php, line 154]
Anyone help I very appreciated >< ( i read documentation very many , please dont suggest read documentation...)