I have been trying to get the cache right for a very long time, and I cant quite achieve it.
I get a 5 top score, but I don't want any errors at all.
Can some one point me in the right direction?
I have two wap sites.
One is a .dot mobi the other is not
but both of them have the same header() settings and both have the meta settings
The dot mobi validates perfectly the other doesn't!
Please any help would be great!
What error does the checker report?
WARN: Cache-control set to no-cache (its not set)
WARN: A Pragma HTTP header was detected with value no-cache (its not set)
WARN: An Expires HTTP header was detected with a value before that specified in a Date HTTP header.
Date header: Fri, 11 Dec 2009 14:39:00 GMT Expires header: Thu, 19 Nov 1981 08:52:00 GMT (its not set in the http, but yes in the header() )
These are the headers()
date_default_timezone_set('Europe/Madrid') ; header("Content-Type: application/xhtml+xml"); header("Expires: " . gmdate("D, d M Y H:i:s", time() + (60 * 60 * 24 * 1)) . " CET") ; header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " CET") ; header("Cache-Control: private"); header("Content-Language: en");
the site name is pbwap.com the sit that has the exact some configeration is pbwap.mobi and this site validates perfectly!
(other than the one comment)
you can see it better with this temporary membership I created will working with the pc.
http://www.guia-puertodeportivo.com/wap/?prvt=user07122009151036|gGn46a5106a5e36
there nothing personal here, its just a test account!
On a different note Do you know about lmx?
Did you fix the headers issue? When I test either site, the caching test passes in both (although pbwap.com fails the validation test)
Have never heard of lmx... what is it?
I am using firefox on Ubuntu, I know it shouldn't make any difference, but it appears that you get a different reply to me.
PBwap.com still doesn't pass the cache test, but does validate for me.
http://pbwap.com/images/PBwap_Validated.png
pbwap.com presently can only be accessed by using this link: [http://www.guia-puertodeportivo.com/wap/?prvt=user07122009151036|gGn46a5106a5e36] (This site cUrls to PbWap.com)
Normally speaking that site has no direct access.
===
lmx is the mime type for nokia geo landmarks, for mapping!
I have made kml geo services for google earth in my portal, now I want to make mapping services for the mobile.
John
Ooooooops!
If you entered the site as a new user, there where errors, you are right, and I apologise for that. They have now been corrected !
I have a caching problem to in my site http://www.imzers.org
Christian Louboutin Sale fyhtry
Sign in or register to reply.
Why register?
Developer's guide
Posted by jleche 2 years ago
I have two wap sites.
One is a .dot mobi
the other is not
but both of them have the same header() settings
and both have the meta settings
The dot mobi validates perfectly
the other doesn't!
Please any help would be great!
Posted by ruadhan 2 years ago
Mobile Champion
What error does the checker report?
Ruadhan O'DonoghuedotMobi
Posted by jleche 2 years ago
WARN: Cache-control set to no-cache
(its not set)
WARN: A Pragma HTTP header was detected with value no-cache
(its not set)
WARN: An Expires HTTP header was detected with a value before that specified in a Date HTTP header.
Date header: Fri, 11 Dec 2009 14:39:00 GMT
Expires header: Thu, 19 Nov 1981 08:52:00 GMT
(its not set in the http, but yes in the header() )
These are the headers()
date_default_timezone_set('Europe/Madrid') ;
header("Content-Type: application/xhtml+xml");
header("Expires: " . gmdate("D, d M Y H:i:s", time() + (60 * 60 * 24 * 1)) . " CET") ;
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " CET") ;
header("Cache-Control: private");
header("Content-Language: en");
the site name is pbwap.com
the sit that has the exact some configeration is pbwap.mobi
and this site validates perfectly!
(other than the one comment)
you can see it better with this temporary membership I created will working with the pc.
http://www.guia-puertodeportivo.com/wap/?prvt=user07122009151036|gGn46a5106a5e36
there nothing personal here, its just a test account!
On a different note
Do you know about lmx?
Posted by ruadhan 2 years ago
Mobile Champion
Did you fix the headers issue? When I test either site, the caching test passes in both (although pbwap.com fails the validation test)
Have never heard of lmx... what is it?
Ruadhan O'DonoghuedotMobi
Posted by jleche 2 years ago
I am using firefox on Ubuntu, I know it shouldn't make any difference, but it appears that you get a different reply to me.
PBwap.com still doesn't pass the cache test, but does validate for me.
http://pbwap.com/images/PBwap_Validated.png
pbwap.com presently can only be accessed by using this link:
[http://www.guia-puertodeportivo.com/wap/?prvt=user07122009151036|gGn46a5106a5e36]
(This site cUrls to PbWap.com)
Normally speaking that site has no direct access.
===
lmx is the mime type for nokia geo landmarks, for mapping!
I have made kml geo services for google earth in my portal, now I want to make mapping services for the mobile.
John
Posted by jleche 2 years ago
Ooooooops!
If you entered the site as a new user, there where errors, you are right, and I apologise for that. They have now been corrected !
Posted by imzers 30 weeks ago
I have a caching problem to in my site http://www.imzers.org
Indonesian Mobile Entertainment WAP Media Site [url=http://www.imzers.org]Imzers[/url]Posted by xiaopy12 1 week ago
Christian Louboutin Sale fyhtry