Hello,
My application based on Zend Framework and Doctrine includes > 300 files on each request. They are mostly the same files.
This is a quite huge overhead. Partially solved by Zend_Cache
(and Memcache), but not all the pages may be cached.
- How to reduce this number? How to speed up?
Doctrine has an option to compile the needed files which seems quite rational for production server and final version of the app.
My plan is to compile other libraries too (I have already stripped all require_once
's).
- Are there any tools for this task? Maybe some cache drivers do it automatically? How to set them up?