WAP3GX Caching Problem

WAP3GX Caching Problem SearchSearch
Author Message
Vikas Murthy
Posted on Friday, August 08, 2003 - 01:15 pm:   

Hi,

I am using the WAP3GX gateway. One problem I noticied is the wap gateway caches some of the requests. How do I disable the caching?

Thanks
Vikas
Bryce Norwood - NowSMS Support
Posted on Friday, August 08, 2003 - 02:13 pm:   

Hi Vikas,

Any caching that is being performed is happening at the client. We don't cache any requests in WAP3GX that I am aware of.

Different WAP clients trigger off of different caching headers. We generally recommend that if you do not want a page to be cached, you should set the following HTTP headers in replies from your content server:

Expires: Tue, 01 Jan 1980 12:00 GMT
Cache-Control: max-age=0
Cache-Control: must-revalidate

If you do not have control over those headers, you can also use META tags in a WML document:

<head>
<meta http-equiv="Expires" content="Tue, 01 Jan 1980 12:00:00 GMT"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
<meta http-equiv="Cache-Control" content="must-revalidate"/>
</head>


-bn
Vikas Murthy
Posted on Monday, August 11, 2003 - 02:20 pm:   

Thanks for the quick response. The web server was the culprit.

Vikas