Laravel Dynamic Sitemap Generation Suddenly Not Including New Pages After Cache Clear - What Gives?

Author
Miguel Hernandez Author
|
2 months ago Asked
|
134 Views
|
2 Replies
0
  • I'm completely stuck and tearing my hair out trying to fix this sitemap issue.

  • My Laravel dynamic sitemap generation has suddenly stopped including new pages after clearing the cache, despite everything looking correct in the database.

  • What am I missing here? It's like it's ignoring the updated data.

  • Anyone faced this before?

2 Answers

0
Ji-woo Liu
Answered 2 months ago
Hello Miguel Hernandez, hope you still have some hair left! I definitely get how frustrating that is; I've hit similar walls with my own content marketing sitemaps.
  • First, verify if your specific sitemap generation package has its *own* cache that needs clearing, separate from `php artisan cache:clear`.
  • Second, ensure your dynamic page queries are truly fresh and not hitting a database query cache, which can directly impact your Laravel SEO strategy.
Hope this helps your conversions!
0
Miguel Hernandez
Answered 2 months ago

Oh nice, I’m using spatie/laravel-sitemap so I’ll definitely check its specific cache first...

Your Answer

You must Log In to post an answer and earn reputation.
AdsVolt Support AI
Online

Connecting to AdsVolt AI...

AI is typing