Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When Teleport updates a project it downloads every file every time, instead of only downloading new or changed files; what am I doing wrong?

0
Posted

When Teleport updates a project it downloads every file every time, instead of only downloading new or changed files; what am I doing wrong?

0

Each time you run a project, Teleport first gets any new files that were pending from a previous session. Next, it checks to see that all of the old files are up-to-date (during this phase, the status bar will say ‘Updating’). When Teleport updates files, it queries the server, and asks whether that file has changed since the last time Teleport retrieved it. If it hasn’t, Teleport doesn’t do anything. If it has, Teleport immediately downloads the new file and saves it (overwriting the old file) in the project folder. The update check is very efficient — if the file hasn’t changed, Teleport doesn’t do anything. However, a file may still sometimes get completely reloaded on update, even if it hasn’t changed, for one of two reasons– (1) The remote server isn’t reporting the modification date for the file. In this case, Teleport cannot know what to do, and re-loads the file. (2) The document is generated dynamically by the server, and even though its content may remain identical, its dat

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123