litespeedtech / lscache-opencart

GNU General Public License v3.0
26 stars 23 forks source link

Journal Product QuickView popup not cached by standard algorithm #21

Open AndreyPopovNew opened 3 years ago

AndreyPopovNew commented 3 years ago

Journal have Product QuickView popup feature.

after full site recache by crawler, QuickView popup become "very slow view", because product link open more faster than quickview popoup.

in /catalog/controller/extension/module/lscache.php to cache Product QuickView popup need to add:

if (defined('JOURNAL3_ACTIVE')) { $urls[] = $this->url->link('journal3/product', 'product_id=' . $result['product_id'] . '&popup=quickview'); }

WuhuaChen commented 2 years ago

Thanks to your suggestion, I added it in https://github.com/litespeedtech/lscache-opencart/commit/f1abcf7a07a867a4c42373c404c7506ece426885, also updated latest package.

AndreyPopovNew commented 2 years ago

'journal3/product' must be added at Page Settings

image

and also Journal3 PopUps journal3/popup/page for cache others Journal3 PopUps