The Options API is meant to store kind of arbitrary information like settings but not large amounts of data. The WP Large Options plugin will help you to store those large option values in a custom post type and in a cache-safe manner to improve your website’s performance.
Why should we avoid storing large amounts of data in options?
wp_options table is too large ( > 1MB), the requests for fetching options will directly be sent to the database servers without any caching layer. Depending on the traffic of the site, this will most likely cause a flood of requests and have a severe impact on the database performance. Want to know more about the
wp_options? Follow our “Working with wp_options” guide.