Forum Moderators: coopster

Message Too Old, No Replies

Stopping Cache Lite when an error occurs

Need to tell it to stop caching if data isn't returned

         

donovanh

6:32 pm on Aug 21, 2006 (gmt 0)

10+ Year Member



Hi,

I'm using cache lite to try to speed up a page that takes it's results from an XML feed.

Currently it grabs the feed, and if the expected information is not returned, shows an apology page. However since I started caching the page using Cache Lite, the apology page is being cached. I'd like to stop this.

Is there a way I can stop the caching upon encountering the missing information?

Donovan

coopster

5:28 pm on Aug 22, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Is the same script (same page) being used to serve the content, whether that content is the xml or the apology? If so, you may want to separate the two. Make the apology page it's own and redirect the user to it.