Can't see updated page (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


KCIWebMaster -> Can't see updated page (7/20/2004 14:08:36)

I have updated a couple of pages on our intranet site and for some reason one of these pages does not show when I go to the site. I updated it "live" on the server - but no matter how many times I refresh on my pc (and on another pc that I tested), I cannot get the page to come up with today's changes. I tried renaming it by adding a "2" to the file name, and that one came up OK. I've cleared the cache, changed other IE settings, closed it, opened it again, no luck.

Any suggestions?




dpf -> RE: Can't see updated page (7/20/2004 14:14:24)

does the page not show at all (cant find) or does it remain unchanged? if unchanges, try re-doing. sometimes thats just how things are




KCIWebMaster -> RE: Can't see updated page (7/20/2004 14:21:09)

I can see the page, it just doesn't have my updates. I'll try making the changes again and see what happens.




Andy from Somerset -> RE: Can't see updated page (7/20/2004 14:38:20)

Try deleting the page from the server - then upload again.

Andy




dpf -> RE: Can't see updated page (7/20/2004 14:49:10)

quote:

Try deleting the page from the server - then upload again.

Andy

that just about ensures that its the new page...good advice




Larry M. -> RE: Can't see updated page (7/20/2004 14:55:43)

<<I updated it "live" on the server - but no matter how many times I refresh on my pc (and on another pc that I tested), I cannot get the page to come up with today's changes>>

Marissa,

I agree with Andy "Try deleting the page from the server", but this time make sure you: >>File >>Publish Site.

This same subject comes up here over and over and the answer is always the same - "live" changes to the host server are a no-no - the only correct method of updating to ensure file/navigation/component integrity in FrontPage is publishing.




KCIWebMaster -> RE: Can't see updated page (7/20/2004 15:07:26)

It looks like I have a whole bunch of pages that have been updated in the last few weeks but when you go to the site you don't see the latest version. But other new pages are fine.[&:] I'm getting a headache![&:]

I tried publishing an update to my hard drive but I get an error before it finishes. Don't know if that's related.

(I know ... I used to work on my hard drive and then publish to the server but somewhere along the way after several changes with PCs I ended up working on the site live.)




dpf -> RE: Can't see updated page (7/20/2004 15:12:06)

quote:

I ended up working on the site live

that isnt inherently wrong..sometimes works and sometimes may be necessary. However, IMHO it just keeps things cleaner to follow the pattern of changing locally and then publishing... your local files match your server files. Front page, in particular, gets confused when you deviate from its control..(I wonder if my first ex-wife helped design the code?)




KCIWebMaster -> RE: Can't see updated page (7/20/2004 15:40:18)

OK. It gets stranger.

I "published" the files to a "new web" on my hard drive to create a clean local copy. Everything seems to be OK there.

I deleted the files on the server that weren't showing up with updates.

I then went to IE and "refreshed" the now deleted page expecting to get the error page not found. I didn't. The page still shows up.

I've tried publishing to the site again with updated pages only. Same result (IE shows old page)

I've tried "importing the files" into the server files. Same result.

I think I may let this rest for a while and try it again tomorrow as these changes are not life-or-death. It's driving me crazy!![:@]




Giomanach -> RE: Can't see updated page (7/20/2004 16:12:52)

Marissa

When viewing the pages, try either of the following:

http://www.yourdomain.com/?

or Load it in your borwser and hit Ctrl + F5

You need to clear your cache. IE is pulling the page from the cache, not the server

[:)]

Dan




KCIWebMaster -> RE: Can't see updated page (7/20/2004 16:33:13)

Tried that. Same result.[:(]




Giomanach -> RE: Can't see updated page (7/20/2004 16:36:37)

Cleared the server cache?




KCIWebMaster -> RE: Can't see updated page (7/20/2004 16:40:32)

No, haven't really touched the server other than through FP. I'll have to go upstairs tomorrow and check that out. Thanks.




Larry M. -> Two Questions for Dan (7/20/2004 17:14:44)

Dan,

Not that I'm an old hand or anything, but will you please tell me what this is?: <<Cleared the server cache?>> And this: <<www.yourdomain.com/?>>

Thanks!




Giomanach -> RE: Two Questions for Dan (7/20/2004 17:35:02)

quote:

<<Cleared the server cache?>>

A snag all servers seem to develop. The server will store a copy of the user-end web locally, i.e. the HTML only, and this will get transmitted to the user to save time and bandwidth. Clearing out the server cache will force it to create a fresh page from the server side coding created by FP or the Server Side tech as used by the webmaster.

quote:

<<www.yourdomain.com/?>>

You can set your browser to check for new versions of web pages at intervals, i.e everytime you visit the page, daily, weekly etc. Adding a question mark to the end of the web address forces the browser to check for a fresh version of the web page. It performs the same function and Ctrl+F5. It's the cheats way of overriding your local cache

Dan




KCIWebMaster -> RE: Two Questions for Dan (7/20/2004 19:25:35)

See, you really do learn something every day. I'll have to check these out tomorrow when I get back in the office. Thanks Dan.




Larry M. -> Clearing Server Cache (7/21/2004 7:17:45)

<<A snag all servers seem to develop. The server will store a copy of the user-end web locally, i.e. the HTML only, and this will get transmitted to the user to save time and bandwidth. Clearing out the server cache will force it to create a fresh page from the server side coding created by FP or the Server Side tech as used by the webmaster>>

Dan,

This is pretty heady stuff. Any guidelines as to when you should do this and, oh yeah, how?

<<Adding a question mark to the end of the web address forces the browser to check for a fresh version of the web page>>

Great tip! [:D]




Giomanach -> RE: Clearing Server Cache (7/21/2004 7:33:51)

quote:

This is pretty heady stuff. Any guidelines as to when you should do this and, oh yeah, how?

You're gonna love me[sm=tongue.gif]

Depends on your server type. With Apache style servers, it's not needed so much, maybe once every 2 or 3 months. If IIS based servers, monthly.

Basically all you do, is clear out Temp Internet Files, Temp Files (both user based and OS based). And then repulish/upload the web. Normally you don't have to worry about this as hosts will automaitcally clear out the cache on a regular basis. But if it's your own server, it's all part of the server admin/maintainence procedure that should be unertaken by some poor soul.

But all of the Data files related to the running of IIS/Apache etc, must stay intact within the Temp files, as this will corrupt server activities, and possibly cause a failure. And these changes ona regular basis. Normally Windoze/Linux won't let you delete them, but mistakes have been made

Dan




artpics -> RE: Clearing Server Cache (7/21/2004 7:33:58)

thanks dan
quote:

<<Adding a question mark to the end of the web address forces the browser to check for a fresh version of the web page>>

Great tip!




KCIWebMaster -> RE: Clearing Server Cache (7/21/2004 12:07:25)

We've deleted the temporary internet files on the server and that hasn't made a difference. Our IT person is checking further to see if she sees anything else. I find it odd that I can rename a page, access it online, as well as the previous version under the old name [&:] when it really doesn't exist any more.




Giomanach -> RE: Clearing Server Cache (7/21/2004 12:10:54)

You have a caching problem, try restarting the server, or just IIS, see what happens

Dan




jaybee -> RE: Clearing Server Cache (7/21/2004 12:20:47)

The proof of the pudding is check it on somebody else's machine who hasn't accessed the site before. If they see it fine then you should also be able to see it immediately afterwards in the new format.

I've had this problem loads of times. It catches me out every time. Half an hour of reloading the site, banging head on desk, swearing.

Light slowly dawns and I belt downstairs, hook up the laptop to dial up and bring up the site. 100% guaranteed it sees the new pages.

Rush back up stairs. Empty my cache, go back online check the site and hey presto there it is.

Sometimes the ? doesn't work but ctrl +refresh or ctrl+F5 will. Other times both work, sometimes neither.

On the one occasion when none of the above worked it was just a case of wait for the ISP to refresh automatically which they do at preset times. Next morning my site appeared fine.




Giomanach -> RE: Clearing Server Cache (7/21/2004 13:18:19)

Doesn't quite work like that JB, this is an Intranet, not on the internet, it's an internal web.

Dan




KCIWebMaster -> RE: Clearing Server Cache (7/21/2004 14:14:05)

Stopped and restarted IIS. [:D][:D] That did it!!! [:D]

Thanks so much Dan!!!




Giomanach -> RE: Clearing Server Cache (7/21/2004 14:56:53)

Your Welcome Marissa, I was elminating my options. I knew it was a cachng problem, it's just there's like a gazillion cures for it lol

Again, Your Welcome

Dan




Larry M. -> RE: Clearing Server Cache (7/21/2004 21:46:14)

<<Stopped and restarted IIS. That did it!!!>>

Marissa & Others,

If we all didn't come away with a least one valuable tip from Dan after following this thread, we were looking out the window.

Thanks Dan!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.140625