View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004982 | OXID eShop (all versions) | 4.08. Cache | public | 2013-03-07 18:16 | 2014-02-19 18:15 |
Reporter | mark | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.3 / 5.0.3 revision 54408 | ||||
Fixed in Version | 4.7.7 / 5.0.7 | ||||
Summary | 0004982: No purging of varnish when oxid admin is on different server / domain | ||||
Description | If 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]+') | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||