View Issue Details

IDProjectCategoryView StatusLast Update
0005150OXID eShop (all versions)4.08. Cachepublic2023-12-13 15:29
ReporterLinas Kukulskis Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version4.7.5 / 5.0.5 
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, Performance and Caching Rework, Varnish
Attached Files
subshop_structure.png (3,279,637 bytes)
ThemeAzure
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Relationships

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

Activities

saulius.stasiukaitis

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.

Cases:
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

SvenBrunk

2023-12-13 15:29

administrator   ~0016079

a) this works as intended
b) making this aware of any configuration differences between the subshops is most likely even worse than just refreshing the cache