Deleted file should not be seen in sitemap
lhui opened this issue · 3 comments
lhui commented
Describe the bug
I used the management end to delete preset articles and comments, but in the sitemap, I can still see the deleted files and they are still visible. This deletion function has become an archiving function.
To Reproduce
Steps to reproduce the behavior:
- Go to Setting -> Admin -> Contents -> Questions
- Click on Item 's 'Action' Delete
- Go to > Contents -> Answers
- Click on Item 's 'Action' Delete
- Go to sitemap.xml
Expected behavior
deleted file should not be seen in sitemap.xml
Screenshots

sitemap.xml

Platform
- Device: Desktop
- OS: macOS
- Browser and version: Chrome
- Version: 1.4.1
sy-records commented
Thank you for your feedback.
The sitemap has a 1 hour cache by default, so when you delete it the results are not up to date.
LinkinStars commented
@lhui The sitemap has a cache time of one hour. Please help me to confirm if it is still in sitemap after one hour.
lhui commented
Thank you. The problem has been solved after one hour.