Laravel Dynamic Sitemap Generation Suddenly Not Including New Pages After Cache Clear - What Gives?
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 weeks agoHello 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.
0
Miguel Hernandez
Answered 2 weeks agoOh 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.