Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Clearing cache

Explorer ,
Jun 01, 2010 Jun 01, 2010

Hi ,

I am loading an xml file named "images.xml" file for each albums. Bu the problems is that, once an xml is loaded for album1 and when trying to view subsequent albums like album2,etc, the xml of album1 is always loading. But if I clear the cache before viewing album2, then its corresponding xml is loading. I think its due to the caching problem. Is there any way to solve this issue. Anyways i am doing a research on this portion. If anybody know to solve this isue, i can save my time.

Regards,

Sreelash

TOPICS
ActionScript
757
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 01, 2010 Jun 01, 2010

don't your xml files have different names?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 02, 2010 Jun 02, 2010

No, same nam is using for all the albums. It's dynamically generating from the aspx page. Is there anyway for solving this issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 02, 2010 Jun 02, 2010
LATEST

yes, append a random number to the file name:

Randomize
Response.write images.xml&Rnd

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 02, 2010 Jun 02, 2010

To get a fresh, not cached, xml, append a random variable to the request url or to prevent caching - send no-cache, etc. header from the server.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines