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 7866533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:25:40+00:00 2026-06-03T00:25:40+00:00

At the moment I’m using Memcache to store my php pdo mysql queries and

  • 0

At the moment I’m using Memcache to store my php pdo mysql queries and it’s working just as intended.

However I would like to create a single page sitemap with ~50,000 urls and think I may need a different way to cache this query. Ideally I’d only want to perform the query once per day and think that keeping 50,000 ids and titles in memcache for that amount of time would be a complete waste of space?

Would it be better to gzip the files into some sort of temporary .txt file? or a different method completely?

  • 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-03T00:25:41+00:00Added an answer on June 3, 2026 at 12:25 am

    I agree with Marc’s comments. Generate the file once per day, perhaps with a cron job.

    I refer you to this statement about sitemaps, which you should consider:

    Sitemap files have a limit of 50,000 URLs and 10 megabytes per
    sitemap. Sitemaps can be compressed using gzip, reducing bandwidth
    consumption.

    Currently, I’m generating my sitemap dynamically, but switching it over to a cron job is on my to do list.

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

Sidebar

Related Questions

At the moment I am trying to validate a form using PHP. The problem
Ignoring price for the moment, would using Unity for a 2D game be better
I am at the moment working on a project on Visual Studio 2010 using
At the moment my code (PHP) has too many SQL queries in it. eg...
At the moment I am using Access & an OleDb connection to store data.
At moment I want to implement picture upload without using any plug-ins. My upload
For the moment we're still working with the 2.0 framework and and although 2.0
At the moment I'm using JavaFX only for fun and learning it. What I
I just a moment ago saw a request for finding the MAC adress of
At the moment I have about 2000 trades which are priced using excel. 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.