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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:21:49+00:00 2026-06-13T07:21:49+00:00

I created a RSS feed using PHP. Basically using the header: header(Content-Type: application/rss+xml; charset=ISO-8859-1);

  • 0

I created a RSS feed using PHP. Basically using the header:

header("Content-Type: application/rss+xml; charset=ISO-8859-1");

And then creating the xml string and outputting it.

Now the problem is even when I make changes to the PHP script that outputs the RSS feed, it takes forever for those changes to propogate and be seen in the RSS reader.

How do I overcome this problem ?

  • 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-13T07:21:50+00:00Added an answer on June 13, 2026 at 7:21 am

    You could try using HTTP cache directives.

    I’d suggest using this for testing:

    Cache-Control: no-cache
    

    And this for production:

    Cache-Control: max-age=1800
    

    It will make the content expire every 30 minutes (1800 = 30*60).

    Tip: Do not create the XML as a string. Use the DomDocument API to create the XML and it will be ALWAYS right. No strange encoding and stuff like that.

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

Sidebar

Related Questions

I am parsing an RSS feed using PHP and JavaScript. First I created a
i've created an rss feed in php using the below code. i've double checked
I'm reading and store a RSS feed in my database.I'm using this code <?php
I have an application that reads an rss feed, parses the xml and adds
I've created an RSS feed using Zend_Feed. It seems to have worked in that
I have created an RSS parser using NSXMLParser class. The feed has an item
I create an iPhone application using RSS Feed. I using XMLParsing and get the
I created an RSS feed page with PHP and tried to run it through
I wish to create a dynamic RSS feed to represent my site's content. Currently,
I want to create my own RSS/XML feed. I fetch data from the database

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.