
orotas wrote...
The to two different methods impact different content. So let's walk through and example with two paths:
/content/mysite/en/products/content/mysite/en/services
Let's say that you activate /content/mysite/en/products. The content update logic from dispatcher will for example remove /content/mysite/en/products.html and /content/mysite/en/products.thumb.jpg, but no other files are impacted by the content update logic - only files starting with /content/mysite/en/products (but none of the files in any sub-directories).
If you for example configure to auto-invalidate .html files then /content/mysite/en/services.html will be invalidated, but not removed. In fact if you stat file level set to zero all HTML files on your site will be invalidated (except /content/mysite/en/products.html which was removed by the content update process). This invalidation happens by touching the stat file (which exists in the docroot if you have the stat file level set to zero).
So when the next request for /content/mysite/en/products.html comes in dispatcher sees that the file is missing and sends the request back to publish. When the next request for /content/mysite/en/services.html comes dispatcher compares the last modified timestamp on the services.html file with the last modified timestamp on the stat file and because the statfile timestamp is newer than the services.html timestamp it sends the request back to the publish server, and on the way back out services.html is replaced with the newly generated version. This process allows all the .html files to be effectively cleared on an activation immediately, rather waiting while a process actually deletes all the files. ,
Thanks for explanation.