View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005658 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2014-02-18 16:59 | 2015-06-22 11:42 |
Reporter | torsten.dix | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 4.8.3 / 5.1.3 | ||||
Summary | 0005658: Extremely slow oxarticle:save() | ||||
Description | In oxcategory.php lines 365ff. we have found new code, which purges all articles which are in all categories which have the same category as the saved article. In out shop setup this means, that all articles are purged, when we save one single article, because all articles are in the same main category. Effect of this is, that the oxarticle::save is very slow (about 10 seconds per article) and that many purges are done, which slow down our severs. | ||||
Tags | Varnish | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Second thing is that each page is purged in a single request (like /yourcategory/, /yourcategory/1/, /yourcategory/2/). Why not just purge /yourcategory/.* ? |
|
When article was saved each category it belonged to, it was flushed. Each category in turn would flush all it's articles. This might be the reason of slow article save process time. We have made a change to category flushing, so it would no longer flush its articles subsequently when article is updated. |
|
Reminder sent to: torsten.dix Hi, Thank you so much for submitting this issue, unfortunately but we can not reproduce it. Could you please send us more detailed information about how you reproduce it? |