While general cooking does not have a significant impact on fiber content, foods that are cooked for long periods of time or at high temperatures can experience a reduction in fiber. Soluble fiber is generally less affected by cooking than insoluble fiber. Certain cooking methods, such as boiling or steaming, can help retain the fiber content of some foods. The effect of cooking on fiber content is influenced by the type of fiber and the cooking method employed.