Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 26th Mar 2013, 07:26 AM   #1
Active Warrior
 
Join Date: 2011
Posts: 44
Thanks: 3
Thanked 1 Time in 1 Post
Default
Html Validation error
Share on: 
fb share twitter share gplus share more share

I am trying to valid my html5 but i don't know how i can solve this error

Error and message is given below please tell how can i valid it ? or give validated code ?

<meta http-equiv="Cache-control" content="no-cache">
"Bad value Cache-control for attribute http-equiv on element meta"

lovefax89 is offline  
Unread 26th Mar 2013, 03:30 PM   #2
PHP ninja
War Room Member
 
kevbo22's Avatar
 
Join Date: 2011
Location: Denver
Posts: 124
Thanks: 13
Thanked 27 Times in 25 Posts
Default
Re: Html Validation error
Share on: 
fb share twitter share gplus share more share

For HTML5 you use a cache manifest file in the header. This is an example of how to use: http://www.w3.org/TR/html5/offline.html#manifests
Also, you force no cache with this:
<meta http-equiv="expires" content="0"> This is a good tutorial on how to use the cache manifest file: A Beginner's Guide to Using the Application Cache - HTML5 Rocks

The best path to prosperity is free market capitalism!
kevbo22 is offline  
Unread 27th Mar 2013, 08:00 AM   #3
ThemeMass.com
 
thememass's Avatar
 
Join Date: 2012
Posts: 86
Thanks: 1
Thanked 7 Times in 7 Posts
Default
Re: Html Validation error
Share on: 
fb share twitter share gplus share more share

Some of methods you should try:

<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
Pragma is your best bet. Try them out.

thememass is offline  
Closed Thread


Bookmarks

Tags
error, html, validation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:59 AM.