View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005150||OXID eShop (all versions)||4.08. Cache||public||2013-06-06 18:07||2017-06-28 08:22|
|Product Version||4.7.5 / 5.0.5|
|Target Version||Fixed in Version|
|Summary||0005150: Cache invalidation in varnish with subshops|
|Description||if there are subshops with different domains but other url is the same for different objects (static pages, dinamic pages) it should not be invalidated in all subshops.|
|PHP Version||Not defined|
|MySQL Version||Not defined|
subshop_structure.png (3,279,637 bytes)
Subshop A is parent of subshops A1 and A2.
Subshop A1 inherit price and inherit stock from it's parent.
Subshop A2 inherit price but it does not inherit stock from it's parent.
Subshop B does not inherit anything from other subshops.
Subshop C inherits everything from all other subshops.
I. Product information changes.
1.Product X price changes in subshop N. (N might be any of subshops).
2.Product X stock changes in subshop N.
II. CMS page content changes in subshop N.
III. Language was activated in subshop N.
Varnish caches objects with several parameters like domain and URL.
Shop form request to flush objects by meaningful URL and all matching wildcard (.*) for domain.
This means that if product X price changes Varnish will flush all objects having X as part of URL independently from domain. For example: http://.*/product_x