Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: incrediBILL
I have a site which sells widgets. Occasionally, I change the type of widgets which I sell. The problem is that on the odd occasion I get an order for something which isn't on the website anymore (i.e. an old style widget). For example, 1 month ago I was sell wedget 1 (W1), however, I sold them all and so have changed the item description to widget 2 (W2).
The mischief lies here...
People order something from pages which don't (or shouldn't) exist anymore.
Is this something to do with cache?
Should I have a tag of some discription in the 'Head' section of all my pages?
Any advice would be most welcome...
You need to test browsers and decide if clientside scripting will do. There are a large array of things you can try but the goal remains the same, keeping the user from thinking something is that isn't.
An apache redirect based on the UA would be most effective if you can figure out how to do that.
Tedster, would you recommend that I disallow cache on my product pages or is such a move liable to have a negative effect on search engine placement.
I presume that it will have a substantial effect on bandwidth used per month!
would you recommend that I disallow cache on my product pages or is such a move liable to have a negative effect on search engine placement
If you know a product is likely to change in the near future, you can try using a full Pragma no-cache treatment. You should know in a short time if that's going to create a bandwidth problem for your hosting contract. But that still won't stop the saved pages problem.
I would say definitely keep product pages with time sensitive prices and products out of the Google cache. And no, that won't affect search ranking. Time sensitive pricing and prodcut offers prices are one very common reason not to allow the Google cache.
Bottom line, no matter what, you will always have a few "sales" that you need to reverse because you can no longer fulfill them - the product is gone for example.
I'll try the 'no cache' option, although I suppose the best idea is just to try to keep more than a few of each item for sale.
This reminds me of an incident when I was a chef many moons ago. Evening came and the waiter responsible for organising menus had about 5 different menus to give out to customers. Not long before I was getting orders for food which I did not even have. Apparently, he had not being throwing out old menus, so for example, table 1 had the menu from Tuesday, table 2 had the menu from Friday, table 3 had...etc.
It happens on some of my pages too, except a few of my sites have a lot of images so it would be a bad idea not to cache.
However, I'm redesigning my pages soon so there will be less images.
Out of curiosity though, is there any way to not cache certain parts of a page? For example, let the browser cache from the first head command, to the end of the first table, then prevent it from caching the next two tables, but allowing it to cache the rest of the page? In short, preventing it caching a certain part of the script?