cancel
Showing results for 
Search instead for 
Did you mean: 

Question for the Purge Experts!

Question for the Purge Experts!

Im looking for a person that can help us find and fix the problem with our caching! Cause nobody can seem to find it.

 

Setup:
Magento 2.2.4 Multi-Store
(running on Apache server)
Varnish 5.2.1 (in combination with Hitch to handle ssl)
Redis 4.0.11

 

Problem:
When saving a product not only the related categories/products gets invalid but the whole varnish gets invalid? We have over 10.000 products and if we edit one of them the whole site needs to be warmed up again...

 

We checked the varnish logs and found out that magento is sending 2 purge requests:
the first one only for the product.
the second one for the product and all related categories.

first-purge
second-purge

 

If i'm correct Varnish bans every page that has one of the Tags in the header. So if we take a look at the second request it shows cat_c_1 that's the root category and cat_c_2 is our website. Could this be the reason why every page is invalid cause every page is related to cat_c_2?

 

if so can we remove the categories from the purge request?