PDA

View Full Version : ?cacheing problems? ftp says latest file is there http don't



Anonymous
11-04-2002, 04:07 PM
Hi Jo,
The service seems to be a lot faster since transfer, but I'm having real problems with the gap between uploading files by ftp and them being visible/accessible via http. I am working on some programs requiring JS and php and other stuff.

Although the files appear to have uploaded when I check them on the FTP, when I access them from the web I seem to be accessing files that were changes often an hour or more ago (sometimes several hours)

This doesn't appear to be a cache problem on my machine as:
- I clear all the IE 6 etc.caches and the same happens
- it doesn't happen on my own machine running an Apache server/PHP etc. via phpddev

I'm not using a network or proxy server my end - my machine is connected straight to broadband cable.

Is there are any way round this - I'm going to need to get round it somehow as I've nearly finished a "world building" package which will require the file crated to be available to the user ASAP

Thanks in advance
Stuart Forbes,
H.S.Software

starfighter
11-04-2002, 06:09 PM
Hi Stuart,
The files should be immediately available, all mine have been so far. One suggestion I have is if there is an option in IE prefs on when to check for a new page version you need to change it from the default to every time. Thats the only thing that I know of that might cause that problem.


Dan

Anonymous
11-05-2002, 03:41 PM
Hi Starfighter
I've checked that - IE6 is already sety to check for a new page every time it loads. It seems to be more of a problem round the js scripts than html. I'm also logging in from UK.

dsm
11-05-2002, 08:48 PM
Stuart, how are you including the js files in your jsp file ?

If you use <@ include> then if you change the js file, you have to also "touch" the jsp file so that the servlet engine recompiles the jsp file.

All this is assuming you're using jsp files of course... if you're not, then I'd try manually clearing the cache from your browser's cache, forcing a refresh.