awstewar Posted July 25, 2005 Posted July 25, 2005 I update my php page on my account, but when I load the page it is the old version of the page. If I go to a friend's computer where they have never visited the page it is still cached. How do I prevent this? Quote
bellringr Posted July 25, 2005 Posted July 25, 2005 (edited) Why not just hit refresh? Or control+refresh if that doesn't work? You can also go into your browser settings and allocate 0kb to cache. As for your friend's puter, I don't know....I have that happen with various sites as well such as news sites. You don't have any redirects set up, do you? Edited July 25, 2005 by bellringr Quote
TCH-Bruce Posted July 25, 2005 Posted July 25, 2005 Welcome to the forums awstewar Are you sure you have the right php file name? And be sure there is not an .html or .htm version of the file in the folder you are uploading too. Quote
awstewar Posted July 25, 2005 Author Posted July 25, 2005 Welcome to the forums awstewar Are you sure you have the right php file name? And be sure there is not an .html or .htm version of the file in the folder you are uploading too. <{POST_SNAPBACK}> I am sure I have the right filename and there are no html or htm duplicates. Quote
TCH-Bruce Posted July 25, 2005 Posted July 25, 2005 Well, if you are receiving a cached page then maybe your ISP is caching your site. Does your friend use the same ISP as you do? Quote
stevevan Posted July 26, 2005 Posted July 26, 2005 Welcome to the forums! I would first make sure that any possible caching locations (browser, ISP, etc.) is NOT caching anything. That will help you decide which direction to go. But start with the easiest first...your browser. Quote
awstewar Posted July 26, 2005 Author Posted July 26, 2005 Welcome to the forums! I would first make sure that any possible caching locations (browser, ISP, etc.) is NOT caching anything. That will help you decide which direction to go. But start with the easiest first...your browser. <{POST_SNAPBACK}> It cannot be my browser because I tried loading the page on a friend's computer and they had never visited the site before. Quote
TCH-Rob Posted July 26, 2005 Posted July 26, 2005 Do you share the same ISP? Many ISP's use a caching server and you might need to wait for the server to update. On another note, it can be the browser. If you have visited the site before, your computer may be storing a cached version of the page. The reason they get the new page is exactly because they have never been there before and their computer has no reference to look at so it must pull a fresh copy. I am not saying that it is your browser for sure, but it is always a possibility. I would say it is either a browser issue or your ISP is caching the page. Clear your browsers cache or press Crtl+F5 while visiting your site and see if that clears things up. If not then I might suspect your ISP is doing the caching. Quote
bellringr Posted July 26, 2005 Posted July 26, 2005 Rob - I think he's saying that his friend's puter was pulling the old page as well, having never visited the site before. Quote
TCH-Rob Posted July 26, 2005 Posted July 26, 2005 See what happens when I "read" the post? If you go to your file manager and view the file, is the code still the old code? Did you just try and overwrite the old file or did you delete and upload? Quote
awstewar Posted July 27, 2005 Author Posted July 27, 2005 See what happens when I "read" the post? If you go to your file manager and view the file, is the code still the old code? Did you just try and overwrite the old file or did you delete and upload? <{POST_SNAPBACK}> I did an overwrite on the file. The old code is not still there. Quote
TCH-Bruce Posted July 27, 2005 Posted July 27, 2005 Can you post a screen capture of what you are seeing (provided it doesn't break the forum rules) and what it should look like along with an address to the page so we can tell you what we see? Quote
samporras Posted July 27, 2005 Posted July 27, 2005 I would try to delete the file and then post your new one. I've encountered this issue before, and this is the only way i've gotten around it. -Sam Quote
TCH-Rob Posted July 27, 2005 Posted July 27, 2005 I would try to delete the file and then post your new one. I've encountered this issue before, and this is the only way i've gotten around it. -Sam <{POST_SNAPBACK}> Same here. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.