View Issue Details

IDProjectCategoryView StatusLast Update
0005150OXID eShop (all versions)4.08. Cachepublic2017-06-28 08:22
ReporterLinas Kukulskis 
Status acknowledgedResolutionopen 
Product Version4.7.5 / 5.0.5 
Target VersionFixed in Version 
Summary0005150: Cache invalidation in varnish with subshops
Descriptionif 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.
TagsEE, Varnish
PHP VersionNot defined
Database VersionNot defined


related to 0004982 resolvedandrius.silgalis No purging of varnish when oxid admin is on different server / domain 



2015-05-27 13:58


subshop_structure.png (3,279,637 bytes)


2015-05-27 14:21

reporter   ~0010992

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.

Current situation:
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