Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I try to improve my website's performance and I'd realize that macros really slows up my load time. I use the ?umbDebug=true to measure it.
Everytime I use a macro, I can see my loadtime gain ~50ms. I tried to set a cache period but it dosen't seems to change anything. I ended up by using only partials but Macro is a way more intuitive with their custom parameters.
Anyone got a solution for me or I should never use macros?
Thanks a lot guys!
I'm not seeing a delay as high as 50ms, but it looks like the macro renderer always hits the database to look up the macro's details from the alias. This happens even if you've set a cache period for the macro result, because it has to get the macro's details to know what to look for in the cache.
Unfortunately I think that it'll need a fix in the core, and there's no easy workaround you can apply yourself.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted