While looking at #28858, I noticed that spring.mustache.enabled isn't used anywhere. As a result, setting it to false has no effect. For consistency with the auto-configuration for the other templating engines, it should disable the MustacheViewResolver (Servlet or reactive) beans.