You can test it, for example, in the database, how many products you have in the Home category.
SQL sample:
select count(*) as products_count from ps_category_product where id_category = 2;
Prestashop automatically deletes the cache when the product is saved.