I am using 7-8 plugins with CakePHP, and the webpage takes from 3 to 6s to load . Why do plugins slow down CakePHP so much? O_O.
I found out it is slow because it loads model in plugins (I disabled Cake's cache globally)
(I use localhost to develop the website, Debug level = 2)
Using DebugKit, I found out Component initialization and startup takes 3s->6s, but I can't solve the problem.
i disabled all plugins and ONLY in model i add line
var $acts = array('Search.searchable','Tags.Tagged');(I disabled Cake's cache globally, disabled cache check and Cache.disable = true)
time load change from 1s -> 4s only with 1 line load Behavior in plugins
2 plugin code by core team cakePHP i dont think matter in plugin.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…