[TYPO3-dev] How to handle dynamic page products URLs with RealURL ?

MORIN Fabrice Fabrice.MORIN at sword-group.com
Tue Apr 12 09:59:17 CEST 2016


Hello,



We use RealURL extension to handle nice URLs for our dynamic pages of products. A single page can handle the display of all products using product ID in URL (e.g. http://localhost/product/1, http://localhost/product/2, http://localhost/product/3...).

All products pages are cached using cHash attribute (which is hidden by realurl using the correct configuration).

It works great if all products links are generated using typolink function.



The problem is that RealURL cache tables containing cHash and mapping URL are truncated by a hook on TYPO3 clear cache.

So after a clear cache, all nice URLs are no more working until they are regenerated using typolink function. All products pages are no more accessible until their URLs are regenerated, which can take time because we have thousands of products with multiple languages.

We currently handle this issue by "warming up" RealURL cache table (i.e. regenerating all products URL with typolink function). It can take several minutes. during this time products page are not available.



Is there a clean way to address this issue ?



Regards,

Fabrice




More information about the TYPO3-dev mailing list