- Posts: 9
- Thank you received: 0
invalid token
- SignsandSystems
-
Topic Author
- Offline
Less
More
6 years 5 months ago #318887
by SignsandSystems
invalid token was created by SignsandSystems
-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- Error-message(debug-mod must be tuned on) -- : invalid token
Hi, I'm having problems with invalid token at the checkout stage. My hosting company uses LiteSpeed Cache. I got onto my hosting company and the excluded some pages and it solved the problem but they said that this was not the proper long term solution. I was told it would be better if I could narrow it down to exclude just the shopping cart area. I have attached a screenshot showing the exclusions.
I have also attached a screenshot showing the LiteSpeed module setting and I was wondering if maybe it might solve my problem if I could turn off the Hikashop cart module in the Litespeed settings, and if so how would I go about this properly.
Any help would be greatly appreciated.
-- Joomla version -- : 3.9.16
-- Error-message(debug-mod must be tuned on) -- : invalid token
Hi, I'm having problems with invalid token at the checkout stage. My hosting company uses LiteSpeed Cache. I got onto my hosting company and the excluded some pages and it solved the problem but they said that this was not the proper long term solution. I was told it would be better if I could narrow it down to exclude just the shopping cart area. I have attached a screenshot showing the exclusions.
I have also attached a screenshot showing the LiteSpeed module setting and I was wondering if maybe it might solve my problem if I could turn off the Hikashop cart module in the Litespeed settings, and if so how would I go about this properly.
Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
6 years 5 months ago #318888
by nicolas
Replied by nicolas on topic invalid token
Hi,
You indeed do not want to cache anything related to the cart or the checkout since it's unique to the current user.
If you don't have tens of thousands of products or more in your shop, I would recommend to actually exclude HikaShop altogether in the "Exclude components" setting. That should probably be the best.
Besides the products and categories on the frontend, everything needs to be dynamic. And even for the products, if you have prices for different users / user groups, you also want that to be dynamic.
A shopping cart usually has to be excluded from caching.
You indeed do not want to cache anything related to the cart or the checkout since it's unique to the current user.
If you don't have tens of thousands of products or more in your shop, I would recommend to actually exclude HikaShop altogether in the "Exclude components" setting. That should probably be the best.
Besides the products and categories on the frontend, everything needs to be dynamic. And even for the products, if you have prices for different users / user groups, you also want that to be dynamic.
A shopping cart usually has to be excluded from caching.
Please Log in or Create an account to join the conversation.
- SignsandSystems
-
Topic Author
- Offline
Less
More
- Posts: 9
- Thank you received: 0
6 years 5 months ago #318935
by SignsandSystems
Replied by SignsandSystems on topic invalid token
Thanks for your help Nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds