eadevelopment
Programmer
Hi, i have a very strange problem.
I have a website, and when i make changes to the web files i upload them via FTP. Then i can go to the website and see the updated pages.
However, for whatever reason, if i make changes to a javascript file, then upload it, the changes won't be made.
For example, i upload a file 'validate.js'. According to the file stats in ftp, the last modified date gets changed. if i download the file again, it isn't the file i uploaded but an older version.
Another thing. if i type the directory where the file is in th url, it shows me the directory listing correctly, with the correct file modified date, but if i download from here it is also downloading the older copy. in fact, even if i delete the file 'validate.js' from this directory, it doesn't appear in the directory listing but i can still download it by typing the url.
E.G.
i type:
it then lists 5 javascript files, one of which is 'validate.js'.
i delete validate.js via ftp. i go back to:
now, there in no 'validate.js'
but, if i type:
then it downloads successfully. and if i make some changes to the file and upload it, typing the above url shows the file has been modified, but when downloading, it will download only the older version.
Is the server caching javascript files somewhere?
Thanks in advance, in know this was a long description.
Laters,
Etch!
I have a website, and when i make changes to the web files i upload them via FTP. Then i can go to the website and see the updated pages.
However, for whatever reason, if i make changes to a javascript file, then upload it, the changes won't be made.
For example, i upload a file 'validate.js'. According to the file stats in ftp, the last modified date gets changed. if i download the file again, it isn't the file i uploaded but an older version.
Another thing. if i type the directory where the file is in th url, it shows me the directory listing correctly, with the correct file modified date, but if i download from here it is also downloading the older copy. in fact, even if i delete the file 'validate.js' from this directory, it doesn't appear in the directory listing but i can still download it by typing the url.
E.G.
i type:
it then lists 5 javascript files, one of which is 'validate.js'.
i delete validate.js via ftp. i go back to:
now, there in no 'validate.js'
but, if i type:
then it downloads successfully. and if i make some changes to the file and upload it, typing the above url shows the file has been modified, but when downloading, it will download only the older version.
Is the server caching javascript files somewhere?
Thanks in advance, in know this was a long description.
Laters,
Etch!