Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9055571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:59:13+00:00 2026-06-16T13:59:13+00:00

So I made a php script which just reads pages from database (around 25k

  • 0

So I made a php script which just reads pages from database (around 25k URLs) and writes them to sitemap.xml in root directory of website.

XML file size is 4.6mb

When I try to open the sitemap.xml, I get no errors, but it just takes like 3-4 minutes to load it in my browser. I’m just trying to load and see how it came out.

I used some web xml validator which points to the URL and it said it is valid and without errors, so that’s not the issue.

I’m just worried that, with the long load times, it might throw search engines off? I mean, 4.5mb should download within 10 seconds!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:59:15+00:00Added an answer on June 16, 2026 at 1:59 pm

    The loading time is probably due to either

    • Your internet connection
    • The servers upstream speed

    4.5 is a massive sitemap, i’m wondering if you needs such big sitemap.
    What you could to is split it up in multiple sitemaps and use a sitemap index

    Recalling your comment below it could be that generating the Sitemap out of that huge amount of data takes up alot of time. It has to fetch it from a database i guess this takes time.
    Try to save the sitemap after loading it, then upload that “standalone” file of the sitemap. See if that loads faster. If so then your script is lagging the loading process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have ajax call which pulls from the processing script 'getajax.php'. Call is made
I just made a script to grab links from a website, and in turn
I have several divs, which are made automatically by php script. Each div have
Well I made an Infinite scroll script, which is performing quite well. But just
I made some CMS in PHP which manipulates with data from MySQL. In my
I make an AJAX request to a PHP script which returns a number from
I've made a php script, that has the job to print text on a
I made a little PHP script that checks if an email is valid. The
Im having a little trouble with a php script ive made. you can see
The html of this script is made with list items http://www.jeremymartin.name/projects.php?project=kwicks Where can I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.