Search results

  1. T

    How do I prevent cached pages from being served to logged in users/users with items in cart?

    It's not the caching of the pages that's a problem...I have that set up already and the correct pages are getting cached. It's serving those cached pages to someone who shouldn't be served those pages. Unfortunately I'm stuck with Zen Cart for the time being. I'm pretty sure there isn't a...
  2. T

    How do I prevent cached pages from being served to logged in users/users with items in cart?

    I have application logic to set a cookie for users who shouldn't be served cached pages...what would the code in .htaccess be to prevent cached pages being served based on that cookie? Thanks, Doug
  3. T

    How do I prevent cached pages from being served to logged in users/users with items in cart?

    I've successfully not cached pages when a user has an item in cart/is logged in/etc by setting a cookie such as page_contain_cache_token. I'd like to not SERVE those cached pages to other users. How do I prevent a user from being served cached pages while they're logged in or have an item in...
  4. T

    Cache not obeying .htaccess rules

    I have Enable Cache set to No at the server level on a CPanel server. In my .htaccess file on the /public_html root, if I put the line CacheEnable in the .htaccess file, everything gets cached even though I have this rule later: RewriteCond %{REQUEST_METHOD} ^HEAD|GET$ RewriteCond %{HTTP_COOKIE}...
Top