A warning from the Massachusetts Department of Public Health may have some beachgoers exercising a little more caution.