Announcement

Collapse
No announcement yet.

Customer Browser Caching causing orders to have old prices

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Customer Browser Caching causing orders to have old prices

    Using SellerDECK V18.03SKXB on a Https site, hosted by sellerdeck. I am getting some orders from a number of clients which have old prices on them despite having the standard meta instruction, <meta http-equiv="cache-control" content="no-cache", no-store, must-revalidate">
    How can I prevent this ?

    #2
    I think you are on the right track re adjusting cache behaviour but maybe not the solution yet. Just thinking out loud given, others might have a different suggestion, as customers will see prices on HTML, changing the cache period in htaccess might do it?
    # Enable the mod_expires module
    <IfModule mod_expires.c>
    # Turn on the module.
    ExpiresActive on

    # Set the default expiry times.
    # Set expiration date to 1 hour for all HTML pages, style sheets and javascript
    # Hash this out when doing site development work, coding or design changes
    ExpiresByType application/javascript "access plus 3600 seconds"
    ExpiresByType application/json "access plus 3600 seconds"
    ExpiresByType application/xhtml+xml "access plus 3600 seconds"
    ExpiresByType application/x-javascript "access plus 3600 seconds"
    ExpiresByType application/x-shockwave-flash "access plus 3600 seconds"
    ExpiresByType text/css "access plus 3600 seconds"
    ExpiresByType text/html "access plus 3600 seconds"
    ExpiresByType text/javascript "access plus 3600 seconds"
    ExpiresByType text/x-component "access plus 3600 seconds"
    ExpiresByType text/x-javascript "access plus 3600 seconds"
    ExpiresByType text/x-js "access plus 3600 seconds"
    ExpiresByType text/xml "access plus 3600 seconds"
    ExpiresByType text/xsd "access plus 3600 seconds"
    ExpiresByType text/xsl "access plus 3600 seconds"

    etc
    Phil Howell
    Director
    Intuition Un Ltd
    www.turmerlicious.com A range of delicious Turmeric Latte's #veryaddictive

    Also
    Awarding winning publishers of Natal Hypnotherapy™, the UK's leading provider of hypnosis for conception, pregnancy and child birth having helped over 100,000 women through antenatal courses and self hypnosis CDs
    www.natalhypnotherapy.co.uk Hypnobirthing in English
    www.natalhypnotherapy.fr Hypnobirthing in french
    www.hypnobirthingclass.online Online antenatal training

    Comment


      #3
      I would imagine the price is actually stored in the .fil files rather than the html so I'd be surprised if it's the caching that is doing this.

      I think the most likely thing is that the the customer has already added the items to the cart and they were sitting in his session file waiting for him to checkout (or maybe in a saved cart as well)

      To avoid this you could delete any session files in your acatalog folder. I'm pretty sure this would clear out any existing cart items and should solve the problem. You might upset any customers who are in the middle of pulling an order together so best do this at a quiet time.

      Eventually any old session files are going to self delete anyway depending on how long you've given them before they expire.

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Thanks Mike for your correction and update.
        Phil Howell
        Director
        Intuition Un Ltd
        www.turmerlicious.com A range of delicious Turmeric Latte's #veryaddictive

        Also
        Awarding winning publishers of Natal Hypnotherapy™, the UK's leading provider of hypnosis for conception, pregnancy and child birth having helped over 100,000 women through antenatal courses and self hypnosis CDs
        www.natalhypnotherapy.co.uk Hypnobirthing in English
        www.natalhypnotherapy.fr Hypnobirthing in french
        www.hypnobirthingclass.online Online antenatal training

        Comment

        Working...
        X