There are a few ways to invalidate X3 cache without having to clear all page cache files. After adding files by FTP, you can use one of the following methods:
- Go to URL {yourwebsite}/panel/touch.php (requires you to be logged-in).
- "Touch" (terminal command or php) the X3 root "content" directory. The above php script does exactly that.
- Create a file config/touch.txt, and update this file (touch or write some random data/date to it).
It should not be too difficult to add one of the processes above to your workflow, either automatically or manually.
This is part of how the X3 cache validation mechanism works. It is used to determine if your X3 website has "changed" and new pages need to be created. By simply checking if filetime has changed for a few items, X3 is able to output cached pages super-fast. This is managed automatically from the X3 panel, which "touches" the "content" directory after any change. If you are updating from FTP, you will need to "touch" (update) "content" dir or config/touch.txt with one of the methods noted above.
PS! If we were to automatically allow pages to refresh after FTP upload, that would require X3 to scan ALL images and directories in your X3 content for each page request, just to check if anything has changed. This will make your pages slow to load, and is simply unproductive. It would also affect cached pages of course, since X3 can only output a cached page after checking if anything changed.