This ticket is closed. You may reply to this ticket to reopen it.

  Reply

Allowed File Extensions: .jpg, .gif, .jpeg, .png, .pdf, .gz, .tgz, .tar.gz, .conf, .txt, .log, .zip, .md

Ticket Information

Ticket ID
376139
Subject
Plugin compatibility with WooCommerce Compare Products
Priority
Medium
Department
Bug report
2018-12-27 (03:00)
Web Support Guest websupport@causeeffect.asia
Hello,

Thank you for the suggestion!
Will forward it to the plugin developer.

On Thu, Dec 27, 2018 at 3:46 PM LiteSpeed Technologies Bug report <
bug@litespeedtech.com> wrote:

> Hi,
>
> The issue is the way the plugin loads the compare page, it redirects to
> /compare-now/ and then in Javascript assigns the product IDs that you're
> comparing, this means, because it hits /compare-now/ it will load the
> compared products from the cache, and then when you refresh, it will do the
> actual request to the real products you're comparing.
>
> Ideally, the plugin developer should deep-link directly to the full
> "compare URL" for it to function with caching plugins (LiteSpeed Cache and
> others).
>
> For now, I'd suggest that you add compare-now to the Do Not Cache URIs
> under "[4] Excludes" in the LiteSpeed Cache plugin, to not cache those
> pages.
>
> You can also contact the plugin developer and ask them to link directly to
> the full compare URL, since this would solve the caching issues for both
> LiteSpeed Cache but also other caching plugins in the "market".
>
> Best Regards,
> Lucas Rolff
>
> ----------------------------------------------
> Ticket ID: #376139
> Subject: Plugin compatibility with WooCommerce Compare Products
> Status: Answered
> Ticket URL:
> https://store.litespeedtech.com/store/viewticket.php?tid=376139&c=MPMrg0wM
> ----------------------------------------------
> visit our website <https://www.litespeedtech.com> | log in to your account
> <https://store.litespeedtech.com/store/> | get support
> <https://store.litespeedtech.com/store/submitticket.php>
> Copyright © LiteSpeed Technologies, All rights reserved.



--
*Web Support*
Help Desk Department



Cause Effect Consultant Sdn Bhd (1193746-H)
The Deck at Kenny Hills
No 3 Lorong Lembah Tunku
50480 Kuala Lumpur

T - +603 6206 4602
E - websupport@causeeffect.asia <hello@causeeffect.asia>
2018-12-27 (02:46)
Lucas Rolff Operator Staff

Hi,

The issue is the way the plugin loads the compare page, it redirects to /compare-now/ and then in Javascript assigns the product IDs that you're comparing, this means, because it hits /compare-now/ it will load the compared products from the cache, and then when you refresh, it will do the actual request to the real products you're comparing.

Ideally, the plugin developer should deep-link directly to the full "compare URL" for it to function with caching plugins (LiteSpeed Cache and others).

For now, I'd suggest that you add compare-now to the Do Not Cache URIs under "[4] Excludes" in the LiteSpeed Cache plugin, to not cache those pages.

You can also contact the plugin developer and ask them to link directly to the full compare URL, since this would solve the caching issues for both LiteSpeed Cache but also other caching plugins in the "market".

Best Regards,
Lucas Rolff

You rated this response
2018-12-27 (01:30)
Web Support Guest websupport@causeeffect.asia
Hello,

I just installed lscache for my wordpress website since my hosting server
(Serverfreak) just support it.

I noticed one problem with my website.
I use WooCommerce Compare Products plugin
https://codecanyon.net/item/woocommerce-better-compare/21158249 . This
plugin add product IDs parameter on the URL and once I click "Compare"
button, it will go to my compare page and shows all my desired compare
products.

Now, at first, lets say I click only 2 products, the compare page shows
correctly of the 2 products. But then, if I add one more product and click
"Compare", the compare page still show only the 2 previous compared
products. Only if I refresh the page again, then only it will show all 3
compared products.

Here's the website and feel free to test it out.
http://wingwahwatch.com/

*May I know what should I put to exclude it from caching?* I can give you
the wp-admin access if you guys need it.

--
*Web Support*
Help Desk Department



Cause Effect Consultant Sdn Bhd (1193746-H)
The Deck at Kenny Hills
No 3 Lorong Lembah Tunku
50480 Kuala Lumpur

T - +603 6206 4602
E - websupport@causeeffect.asia <hello@causeeffect.asia>