Attributes Configured in Magento should update immediately after changing in Magento.
Actual Behaviour
Working on CIF Core Product Component. Data is not updating immediately after changes in Magento. No cache implementation was performed from dispatcher level also. Even in local also it is not updating immediately. There is some delay in updating data. Sometimes it is updating immediately and sometimes not updating(taking around 30 minutes).
@ShajiShaik thanks for bringing up the issue, may I ask you to do some additional checks.
test the query directly from a GraphQL client like GraphiQL or Altair GraphQL client. Make sure you do a GET request here (as this is the default config for AEM) > test before and after the product change > do you see the updates here immediately?
Check the HTTP Response headers of your Magento env for the GraphQL call, are there any caching headers set?
Configure the CIF GraphQL client to use POST method instead of GET (via the OSGI config). Does this help / change the behaviour?
Expected Behaviour
Attributes Configured in Magento should update immediately after changing in Magento.
Actual Behaviour
Working on CIF Core Product Component. Data is not updating immediately after changes in Magento. No cache implementation was performed from dispatcher level also. Even in local also it is not updating immediately. There is some delay in updating data. Sometimes it is updating immediately and sometimes not updating(taking around 30 minutes).
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Follow the steps given here
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem