Files Don't Change after FTP

Status
Not open for further replies.

groupfe2

New Member
Messages
2
Reaction score
0
Points
1
Hello,

When I FTP my files to my website, my website does not reflect those changes immediately, and often times shows those changes 15-20 minutes later. I have tried clearing my cache and doing a force reload on Chrome, but these do not change anything. However, when I download the files from the server using my FTP client, I receive the newly changed files (maybe there is some caching in my FTP client?) but again, when I look at the source code of the page, it does not reflect the new changes.

Thank you!
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
x10hosting recently implemented a different web-server-software setup on their free-hosting servers - which is a combination of the Apache web server and the Varnish cache server
the cache server maybe why there is a delay before you 'see' the file - after you upload it
staff has said - to override [ Varnish cache ] try adding the following line to your root [ .htaccess ] file
Code:
Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"
 

groupfe2

New Member
Messages
2
Reaction score
0
Points
1
Hello,

Thank you for your answer.
I added the line of code you suggested to the top of my .htaccess file in my root folder, but now I have not seen any of the new changes in any of my files since yesterday.

Is there something else that I can try?

Thanks!
 
Status
Not open for further replies.
Top