Post by lukeketchum1 » Thu Feb 08, 2018 11:10 pm

Hey guys,

Another issue I am having with my opencart setup at the moment is a cache problem

For example, someone adds items to the cart, clicks on checkout and then logs in, it then bounces them back to the login form that you get prior to checkout. If I manually right click and select refresh the page then acknowledges that I am already logged in... but I'd prefer it to just acknowledge the user is logged in once they enter the correct credentials. Is there any way to completely turn off caching or otherwise fix this?

Best regards

Luke

Active Member

Posts

Joined
Tue Jan 23, 2018 12:30 am

Post by IP_CAM » Fri Feb 09, 2018 3:53 am

Well, there is no such Thing as an OpenCart 3.x Version, so, better be precise,
if you expect a usable reply. And add ALL information, on what you use, on Theme and
Extensions, since the Software usually works, as it comes by default.
But you could take a look here, to possibly find some answers on this, OC-3 Versions use
Cache Sections, placed outside of the regular Site Directory, and your Server might not
accept such, and so does not build and handle it's Cache Section in order.
Good Luck!
Ernie
---
GGW Installer fix Allow ALL directories to be written
https://www.opencart.com/index.php?rout ... n_id=31130
---

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by straightlight » Fri Feb 09, 2018 6:25 am

lukeketchum1 wrote:
Thu Feb 08, 2018 11:10 pm
Hey guys,

Another issue I am having with my opencart setup at the moment is a cache problem

For example, someone adds items to the cart, clicks on checkout and then logs in, it then bounces them back to the login form that you get prior to checkout. If I manually right click and select refresh the page then acknowledges that I am already logged in... but I'd prefer it to just acknowledge the user is logged in once they enter the correct credentials. Is there any way to completely turn off caching or otherwise fix this?

Best regards

Luke
See this solution: viewtopic.php?f=202&t=201745#p713479

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by FHL » Thu Jan 24, 2019 3:29 pm

Hello,
did anyone have a similar problem cache OpenCart 3.0.2.0? When we test site speed gtmetrix.com , the results are good 95%. when loading cache pages the site loads quickly under 1 sec. The problem is that no cached pages are loaded and the site loads for 15 seconds. think there's a problem with Cash. OpenCart 3.x uses Cache Sections outside the regular directory of the site, it is /home/.../storage.
.htaccess there is
## Cache control ##
## EXPIRES CACHING ##
# Compress HTML, CSS, JavaScript, Text, XML and fonts

FHL
Newbie

Posts

Joined
Tue Jan 22, 2019 12:17 am
Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 14 guests