I’ve been working on an HTML5 game and trying to make it run smoothly on older phones and low-end tablets. A few things that helped so far: reduce draw calls, use sprite sheets instead of many small images, and lower the canvas resolution when possible.
Culling off-screen objects and simplifying effects made a big difference too. I also use requestAnimationFrame for smoother timing and object pooling to reduce garbage collection.
Still, performance varies a lot between browsers and devices. What optimization tricks have worked best for you when targeting weaker hardware?