Of course, yes. In a static site, 99.99% requests goes to CDN. So it's highly secure compared to WordPress.