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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:40:51+00:00 2026-05-26T11:40:51+00:00

I have a flash app that requests xml generated by a php script. The

  • 0

I have a flash app that requests xml generated by a php script. The data doesn’t change much, and I would like flash to cache the xml instead of loading it every time. I’ve been checking my access logs, and every single time i reload a page with the flash app on it, the php file is accessed and the xml downloaded.

I’ve read that flash doesn’t control what is cached, as it just requests something from the browser, but nothing else that flash downloads (i.e. mp3 files that are supplied by the xml) doesn’t get cached. So I’m not really sure what that means.

I’ve googled the heck out of this, but everything I find is telling me how to keep flash from caching stuff.

Here’s the code I used (AS3):

xmlLoader.load(new URLRequest("info.php"));

It’s not a huge deal but sometimes it takes 2-3 seconds to load if my host decides to respond slowly.

edit: I got the headers:

HEAD /beatinfo.php HTTP/1.1[CRLF]
Host: spoonhands.com[CRLF]
Connection: close[CRLF]
User-Agent: Web-sniffer/1.0.37 (+http://web-sniffer.net/)[CRLF]
Accept-Encoding: gzip[CRLF]
Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7[CRLF]
Cache-Control: no-cache[CRLF]
Accept-Language: de,en;q=0.7,en-us;q=0.3[CRLF]
Referer: http://web-sniffer.net/[CRLF]
  • 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-26T11:40:52+00:00Added an answer on May 26, 2026 at 11:40 am

    Try looking at the header function. (http://php.net/manual/en/function.header.php)

    That is the one i always use to send html headers so that it will not be cached. I think you can send headers so that it will be cached instead.

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

Sidebar

Related Questions

I have a flash app using the flex framework - I would like to
I have a flash app that plays movies. It loads subtitles and subtitle times
I've seen a few sites that have a flash app which takes video from
I have a Flash app with a PHP backend. Whenever there is a PHP
I have been wanting to learn to write a Flash app so that it
I have a flash app hosted at www.example.com that is trying to pull in
All, I'm working on a Flash application that's supposed to send XML data to
I'm posting data from a Flex app to a php script. GET works fine
I have a Flash app that loads a list of youtube video ids. It
I have a flash app, and i want to put an in-app pop up

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.