WP Fastest Cache - issue
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from majkiexm on November 4, 2024, 10:49Hello,
we are using wp fastest cache on our wordpress site. Once e.g. a product category is cached the pagination or filter request is no longer sent / proceeded.
This wasn't an issue before. Could it because of nonces? It just displays the loading status but never gets loaded.
We disabled caching for now but that makes our site slower.
Thanks!
Hello,
we are using wp fastest cache on our wordpress site. Once e.g. a product category is cached the pagination or filter request is no longer sent / proceeded.
This wasn't an issue before. Could it because of nonces? It just displays the loading status but never gets loaded.
We disabled caching for now but that makes our site slower.
Thanks!
Quote from Pablo Borysenco on November 4, 2024, 12:10Hello
Please drop me exact link to the issue
Hello
Please drop me exact link to the issue
Quote from majkiexm on November 4, 2024, 12:17Hello,
category link is in private data tab and keep it private please.
If you scroll at the bottom of the category and click on any number at pagination it's just going to show loading status but it never gets loaded.
Using WP Fastest Cache - it works fine for logged in users or when cache is being disabled.
Thanks
Hello,
category link is in private data tab and keep it private please.
If you scroll at the bottom of the category and click on any number at pagination it's just going to show loading status but it never gets loaded.
Using WP Fastest Cache - it works fine for logged in users or when cache is being disabled.
Thanks
Quote from majkiexm on November 4, 2024, 13:06A quick update: This is what the XHR (ajax requests) gives back on filter / pagination: nonce error
XHR call is in the private data tab. Please keep the site link private.
So it must be cache related.
A quick update: This is what the XHR (ajax requests) gives back on filter / pagination: nonce error
XHR call is in the private data tab. Please keep the site link private.
So it must be cache related.
Quote from majkiexm on November 4, 2024, 13:23FYI: Sometimes it works fine, sometimes not and throwing the nonce error. I guess it depends on the nonce lifetime.
FYI: Sometimes it works fine, sometimes not and throwing the nonce error. I guess it depends on the nonce lifetime.
Quote from majkiexm on November 5, 2024, 12:05Hello,
we debugged this whole thing on our own. The problem is: When uncached page is loaded a nonce is set if after its lifetime. It's then being cached by WP Fastest Cache and if cache is not purged regularly, the nonce is after its lifetime for this XHR (Ajax) call: woof_draw_products
We've set-up a full cache clear at midnight using cron at the moment, but its not ideal.
Do you need to verify nonce on the frontend for not logged-in customers at all?
Thanks
Hello,
we debugged this whole thing on our own. The problem is: When uncached page is loaded a nonce is set if after its lifetime. It's then being cached by WP Fastest Cache and if cache is not purged regularly, the nonce is after its lifetime for this XHR (Ajax) call: woof_draw_products
We've set-up a full cache clear at midnight using cron at the moment, but its not ideal.
Do you need to verify nonce on the frontend for not logged-in customers at all?
Thanks
Quote from Pablo Borysenco on November 5, 2024, 12:08Hello
You can try to disable ajax mode
OR
in file - \woocommerce-products-filter\index.php - try to comment/delete this line - https://share.pluginus.net/image/i20241105120750.png and https://share.pluginus.net/image/i20241105120822.png
Hello
You can try to disable ajax mode
OR
in file - \woocommerce-products-filter\index.php - try to comment/delete this line - https://share.pluginus.net/image/i20241105120750.png and https://share.pluginus.net/image/i20241105120822.png
Quote from majkiexm on November 5, 2024, 12:12Hello,
yeah, you're right. When we delete lines 2995,2996,2997 in method woof_redraw_woof it works like a charm!
Is there a need for nonce checking on the frontend due to security? FYI not even Woocommerce uses them on the frontend actions e.g.
wc-ajax:add_to_cartIf there's no need for them in this method for the frontend ajax redrawing it'd be good if you can update it.M.
Hello,
yeah, you're right. When we delete lines 2995,2996,2997 in method woof_redraw_woof it works like a charm!
Is there a need for nonce checking on the frontend due to security? FYI not even Woocommerce uses them on the frontend actions e.g.
M.
Quote from Pablo Borysenco on November 5, 2024, 13:01I wrote to you in private data
I wrote to you in private data
Quote from majkiexm on November 5, 2024, 13:02Ah okay, thank you!
We'll clear site cache once daily then.
Ah okay, thank you!
We'll clear site cache once daily then.