I have created a new customer attribute. In a custom page, I want to show that new attribute's value. Due to the full page cache, it doesn't show the data as I update it from the backend until I clear the cache. I cannot disable the cache for this block as it will load the entire page without cache. How can I load the latest values of this attribute in my custom page without refreshing/clearing the cache?

I'm using Magento 2.2.9

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.