I need to disable several OpenCart pages from caching with LS Cache. Unfortunately, none of the commands for URL Rewrite work properly. I need to disable the caching of the admin folder, all checkout pages, all account pages. Everywhere it says I have to do it through OLS admin but it is in read-mode. I can't find a solution to this problem anywhere.
Let me give an example, the user logs into the opencart store, goes to the "my details" tab and the page is cached publicly!
Someone else enters the store from another device, logs in and sees another customer's details. Examples:
I tried in the page configuration file (and even the entire OLS) to add:
context "/index.php?route=account/address" {
cache-view no
}
Doesn't work.
I tried via htaccess:
CacheDisable public /index.php?route=account/address
Doesn't work.
I tried via htaccess:
RewriteRule index.php?route=account/address - [E=Cache-Control:no-cache]
Doesn't work.
I tried via htaccess:
RewriteCond index.php?route=account/address
RewriteRule .* - [E=Cache-Control:no-cache]
Doesn't work.
I made a modification:
<?php
echo '<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />';
echo '<meta http-equiv="Pragma" content="no-cache" />';
echo '<meta http-equiv="Expires" content="0" />';
?>
Doesn't work.
It does not load any data entered into aaPanel configuration files and any changes to URL Rewrite. I even made him simple PHP and HTML files to check if anything works. Nothing works, I don't know what's going on. Anyone got any ideas?