Why Shopware 6 is caching the events?

@Moritz Naczenski schrieb:

Do you have any criterias that are based on the logged in customer and so on? Something that will change between requests?
Because it should work with general criterias (e.g. „only products with stock > 500“), because the output will always be the same. I

 

I have added two custom fields for products, published from date and published to date. so i want to show the products only if the current date is in between these 2 dates.

This checking must be done in category wise product listing,product search result.