apache/answer

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:

  1. Go to Setting -> Admin -> Contents -> Questions
  2. Click on Item 's 'Action' Delete
  3. Go to > Contents -> Answers
  4. Click on Item 's 'Action' Delete
  5. Go to sitemap.xml

Expected behavior

deleted file should not be seen in sitemap.xml

Screenshots

image

sitemap.xml

image

Platform

  • Device: Desktop
  • OS: macOS
  • Browser and version: Chrome
  • Version: 1.4.1

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.

@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.