Forum Moderators: open

Message Too Old, No Replies

Would this code stop google caching my pages

Want to use it to stop AOL

         

bateman_ap

9:36 am on Aug 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have the following code in my asp page at the top to stop it cacheing (if it is wrong, please someone tell me) but would it also stop google caching it, (which i don't want to do!)

<%
Response.Expires = -1
Response.CacheControl = "no-cache"
%>

Marcia

10:09 am on Aug 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No idea, bateman_ap. Google has instructions for nocache, but not that code:

[google.com...]

Dinkar

10:14 am on Aug 5, 2002 (gmt 0)

10+ Year Member



No, that code won't stop Google.

Visit Thailand

10:39 am on Aug 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just on this but is there any difference between :

<META NAME="GOOGLEBOT" CONTENT="NOARCHIVE">

and

<meta name="googlebot" content="noarchive">

Are both workable ?

Visit Thailand

2:11 am on Aug 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry but does anyone know the answer to above question ? I just don't like CAPITALS in my code. Weird I know but there you go !

Dinkar

2:29 am on Aug 8, 2002 (gmt 0)

10+ Year Member



Actually, both should work. But I recommend the capital version.

Key_Master

2:30 am on Aug 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Visit_Thailand,

Google will obey both. I use the lower case version. I'm the same way- no capital letters for me if I can help it.

Visit Thailand

2:54 am on Aug 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks all, I didn't want to go around adding it to tonnes of pages only to find it had to be capitalised !