MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Test with redbot.org

WebPagetest Forums

Full Version: Test with redbot.org
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
i try to test my web site with redbot.org.

My results:
HTTP/1.1 200 OK
Date: Thu, 26 Feb 2015 11:04:32 GMT
Server: Apache
X-Powered-By: PHP/5.4.37
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PHPSESSID=69ebc2dce8f1e41c6df8be2ed41260ad; path=/
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
X-UA-Compatible: IE=Edge,chrome=1
Cache-Control: max-age=1296000, must-revalidate
Content-Length: 4560
Connection: close
Content-Type: text/html; charset=utf-8


And this site see for most performance changes:

* This response explicitly sets a rendering mode for Internet Explorer 8.
* The response body is different when content negotiation happens.
* Pragma: no-cache is a request directive, not a response directive.
* This response can't be stored by a cache.

I dont know how to disable "pragma: no-cache" in my htaccess file.
How i do this?
It is very simple, add this line to your .htaccess

<filesMatch "\.(html|htm|js|css)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</filesMatch>


or try searching on Google for sure you will find what you are looking...
Reference URL's