cancel
Showing results for 
Search instead for 
Did you mean: 

Clear cache vs Ajax

Clear cache vs Ajax

I need to create Magento 2 extension that will be adding some content (information) to products on category and product page, that information will update depending on the configuration of extension (date-time range) I want to find the best solution, which is better, clear cheche by tags when I need to update my custom content or load it content by ajax? I think a clear cache is a better idea such as loading my custom content is a little bit hard process. Are you have any idea?