Optimise .js file load on node server

I have noticed recently that site response times are suffering due to the time taken to load the various .js and .css files from my node server (VPS, not docker)
Anyone got any good optimisation tips.
In the PHP environment i would use .htdocs file to force caching but I assume that will have no effect with a node setup
Any suggestions appreciated, good solutions may be rewarded with a “how to” video :grinning:

I’m going straight in and recommending Cloudflare Brian. There are plenty of other services but we have Clouflare on just about all our Projects, PHP and Node. Positive improvement all round. And FREE of course.

1 Like

Will take a look