Why is App::import('*', '*');
, as well as model loading takes as long as ~3-5ms?
This is quite annoying when you have around 100 required models for a page; it'll take more or less 300ms just to load the core and the models.
Furthermore, I saw that this load time is not decreased when a cache system is enabled.
Have you an idea why it's so long and another to decrease this time for an application that need much models?
Thanks in advance!
EDIT : When I use the file cache system (whit debug mode to 0) I see that the creation date property of the file generated by the cache is always the same as the last time I generate a page. This means that the cache is regenerating the model files every time (despite of the debug mode set to 0). Is that normal?
EDIT2 : When I open the model cache files with Notepad++, there is trailing "nul" flags at the begining that I don't have in other cache files (like persistent).
EDIT3 : Long story short : Why is the loading time of a Model as long if a cache system is on as it would be without this cache system?