ZF2 Performance

From Glitchdata
Jump to: navigation, search

Some performance enhancement tips for ZF2:

  • Caching
  • Create Classmaps
    • Use The EdpSuperluminal Module
  • Keep Module.php light
  • Create View Template Maps
  • Create moduleconfig.cache.php
  • Go easy on EventManager
  • Routing Table Design
  • Ensure you have favicon, Apple touch icons, robots.txt set. By not having them, a second request is made for a 404.
  • OpCaching
ZF2 Performance