Workers Slow JS loading time

Hello there,

I have implemented cloudflare workers on my WordPress website and everything works fine.
The only issue I want to solve is the slow loading time for JS files. I have Autoptimize that works fine without workers but when i activate the worker it doesn’t seem to work at all and each file take around 600 ms to load instead of 30 ms normally.

Any insights?

Thanks!

Hi @stevenbriand44,

I’d suggest you change the topic to Developers > Workers, and post the content (or the relevant part) of the worker that you have activated, so that people more familiar with Workers may help you.

Moved !

1 Like