cancel
Showing results for 
Search instead for 
Did you mean: 

Product Info Updates are not reflected on front end immediately even after clearing chache

Product Info Updates are not reflected on front end immediately even after clearing chache

When we change general product info such as name, price, quantity, it takes more than 5 mins to reflect the change on front end. Is this because of Varnish Cache function? How can we reflect the latest update immediately after we save the product?

2 REPLIES 2

Re: Product Info Updates are not reflected on front end immediately even after clearing chache

Hello @makoto_matsumot 

You may try one of the below options:

  1. Trial & Error Method
    Before changing product information, disable the varnish cache. Then, change your information and check if it is reflected or not.
  2. If you are not sudo user and if it is possible to run the command using sudo then run command link 
    sudo php bin/magento cache:flush

     

  3. Also, check if the cron job is running properly or not. Try to run php bin/magento indexer:reindex command and check its effect instantly. If it does, then set the cron job.
    You may refer https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-cron.html

    Hope one of the above methods helps you with the issue.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"

Re: Product Info Updates are not reflected on front end immediately even after clearing chache

Hello @makoto_matsumot 

 

I agree with @Meetanshi comment related to Varnish cache, but you can also check the Indexing Mode.

 

In Magento 2, there are  2 indexing modes:
Update on Save and
Update by Schedule

You can configure each mode under Tools -> System -> Index Management.

 

 

2019-09-14_21-34_Index Management - Tools.jpg

There are some advantages and disadvantages of Partial Indexing.

 

The main advantage of the Update on Save mode is that it lets you index data upon saving the document. In other words, once you save a product in a category it becomes instantly available on the store front with all the changes that you have applied. However, the main disadvantage is that it incredibly increases the time for each operation to complete. That is why, to speed up the process there has been introduced the Update by Schedule mode.

 

This feature lets you index data in the background so there is no delay when you try to save any document. Everything is performed asynchronously. The only minus of this method is that it may really take a while until the cron job starts indexing.

 

If my answer is useful, please Accept as Solution & give Kudos