View Issue Details

IDProjectCategoryView StatusLast Update
0004982OXID eShop (all versions)4.08. Cachepublic2014-02-19 18:15
Reportermark Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.3 / 5.0.3 revision 54408 
Fixed in Version4.7.7 / 5.0.7 
Summary0004982: No purging of varnish when oxid admin is on different server / domain
DescriptionIf you have an extra server for oxid admin and traffic is routed directly (not through varnish) if you open oxid admin (like adminserver.mynetwork.com) then cache->isactive fails (which is logical, no header "HTTP_SURROGATE_CAPABILITY" present. But if you change articles isactive is false and no purging is done. So workaround is to add

if (isAdmin())
{
  $_SERVER["HTTP_SURROGATE_CAPABILITY"] = 'varnish=ESI';
}

but that is not the clean way :-)

second is that varnish purges x-ban-host: .* which is not good in bigger environments. please purge shop-domain + subshops if object is inherited. best way would be to let this string be defined via config (then shop owner could define something like '\.mybrand\[a-z]+')
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0005150 closedSvenBrunk Cache invalidation in varnish with subshops 

Activities

There are no notes attached to this issue.