0

I want to clear full page caching on my custom product listing page in my module if any product get out of stock. Actually I need to show "out of stock" label on the products that are not in stock but that is not happening due to full page caching and I cannot turn caching off also as it would slow down my page.

1 Answer 1

0

You must clear "Block HTML Output", "Collections Data" and "Page Cache". https://goo.gl/w5gaXB

4
  • actually I want to do it programmatically not manually...if anyone could throw some light on cache tags and cache validation key etc Commented Sep 16, 2017 at 19:00
  • you did not specify this in the question, but I edited your question.
    – St3phan
    Commented Sep 16, 2017 at 20:57
  • can anyone help me in this Commented Sep 17, 2017 at 14:49
  • what about magento.stackexchange.com/a/131837/46716 ?
    – Gediminas
    Commented Jan 4, 2018 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.