I am developing a module i which i override the MagentoCatalogBlockProductProductListToolbar.php by preferece and list.phtml by catalog_category_view.xml layout.
Correct product listing data is come when i run the cache clean command. When I write cacheable=”false” then product listing show correct data but i don’t want to use cacheable=”false” because it wil error on marketplace.
I don’t understand why need cache clean on every refresh if i don’t use cacheable false. what is alternative of cacheable=”false”.