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

  • Home
  • SEARCH
  • 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 7435773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:07:52+00:00 2026-05-29T10:07:52+00:00

I am just developing a sample php page.. to display tweets, for a particular

  • 0

I am just developing a sample php page.. to display tweets, for a particular hashtag…

Is there any need to cache the tweets, displayed on my site.. Because I would be only displaying the 5 recent tweets…

  • 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-05-29T10:07:54+00:00Added an answer on May 29, 2026 at 10:07 am

    Is it required? No, it isn’t required.

    Is it a good idea? Very possibly, but that depends on what you’re trying to do!

    How many users will this system have? How often will the page be loaded? How important is it to render the most recent tweets as quickly as possible?

    Caching will lower the number of times you have to make a request to the Twitter API. This means two things

    1. It will be more efficient to cache since you might not need to wait for an API call to resolve, so the page will load faster.
    2. It will also lower the load on the Twitter API (which they do rate limit, so if you aren’t careful / doing some amount of caching you could run into trouble if your service is popular).

    That’s the good news, the bad news is that

    1. If you cache then you won’t be guaranteed to have the very latest tweets.
    2. It is possible that you might miss on tweets if too many happen too quickly.
    3. You add some complexity to your system.
    4. You might be violating the Twitter Terms of Service (you should look into it)

    So, in short, no it isn’t required in an absolute sense. Whether or not it makes sense is up to you, based on your system. What is more important? scalability (if so then you should cache)? simplicity (if so then maybe you shouldn’t cache)? ensuring that you never miss a tweet (if so then you could cache, but would need to be smart about it)?

    The choice is all yours!

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

Sidebar

Related Questions

I need to implement version control, even for just the developing I do at
So I am just starting out developing PHP web applications and have finished setting
Just wondering whats the best way to test Python CGI while developing a site?
I am developing a really simple PHP application to display pictures on the web.
I've just discovered a setting on the server I'm developing a site for that
I am developing small application in PHP that will need to store small number
I am developing a ASP.Net web site and my page works normally in IE/Firefox/Opera
I'm developing a very simple PHP upload feature in my site to permit users
So I am just beginning recently developing some simple apps for the iphone. I
I am just developing an a desktop application for Twitter, Buzz and facebook. Google

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.