Mautic Community Forums

mtc.js takes a long time to load

I can see that when the client download mtc.js javascrript for tracking it takes more than 450 ms to get the first byte.



So, I assume that mtc.js is generated from php for each request… is it so?



Can I make mtc.js static in some way?



Thanks,

Lorenzo

I can see that when the client download mtc.js javascrript for tracking it takes more than 450 ms to get the first byte.

So, I assume that mtc.js is generated from php for each request… is it so?

Can I make mtc.js static in some way?

Thanks,
Lorenzo

OK, thanks.

Could you tell me briefly why?

Thanks again

Actually, from what I see, this is indeed the case. There is no file “mtc.js” in the main mautic folder, but when I try to view it in a web browser: https://www.example.co.il/mautic/mtc.js - it’s there.