Hi,

it is possible, but I don't know if there is a module around, that can do that 
for you.
The problem is that OXID does not cache product information but the states of 
controllers (still called "views" in 4.6). That basically translates to pages 
you can see in your shop (details, product list, start page).

With the default cache backend these page states are stored by calculating a 
"view-ID" and using its MD5 sum as a filename in the tmp/ directory. You can 
manually delete these files to clear a specific part of the cache.

Unfortunately every controller is allowed to use its very own method to create 
such "view-IDs", so you have to manually look up every getViewId() method and 
study them. (e.g. here: 
http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.6.6.54646/)

So if you want to remove all cached pages for a specific product you have to at 
least remove its detais page and every category page and the manufacturers page 
it appears in. There might even be more, depending on your cache settings.

Therefor in most cases it's easier to just clear the whole cache and have it 
rebuild by a crawler.

regards
Gernot Payer
________________________________________
Von: [email protected] 
<[email protected]> im Auftrag von Friedemann Stoffregen 
<[email protected]>
Gesendet: Montag, 23. September 2013 08:29
An: [email protected]
Betreff: [oxid-dev-general] Delete Cache of specific product

Good morning, everyone!

Does anyone know if it's possible to delete the cache of a specific product 
(manufacturer, category, …)?

Instead of deleting the whole tmp/ directory, I just want to delete the files 
needed to generate the product list, the detail-page.

I'm currently using the latest Version of Oxid EE 4.6.

regards,
Friedemann Stoffregen
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to