Используйте кэш браузера

65 views
Skip to first unread message

serio...@gmail.com

unread,
Oct 23, 2013, 11:56:27 AM10/23/13
to pagespeed-ins...@googlegroups.com
На моем сайте стоит Hypercache Так почему написано, что в этом пункте у меня  стоит (минус)

Dave Mankoff

unread,
Oct 23, 2013, 12:06:00 PM10/23/13
to pagespeed-ins...@googlegroups.com
Howdy.

I assume that you are referring to a WordPress blog with http://wordpress.org/plugins/hyper-cache/ installed?

Do you have the URL for your website? It may be as simple as tweaking your Hyper Cache configuration.


-dave mankoff

serio...@gmail.com

unread,
Oct 23, 2013, 12:14:27 PM10/23/13
to pagespeed-ins...@googlegroups.com
http://body-health.su/

среда, 23 октября 2013 г., 20:06:00 UTC+4 пользователь Dave Mankoff написал:

Dave Mankoff

unread,
Oct 23, 2013, 12:26:43 PM10/23/13
to pagespeed-ins...@googlegroups.com
So with regards to your caching headers, a lot of your resources do not have caching headers specified. Take http://body-health.su/wp-content/themes/fe/style.css, for instance. In my browser I get the following headers back:

Connection:keep-alive
Content-Encoding:gzip
Content-Type:text/css
Date:Wed, 23 Oct 2013 16:20:48 GMT
Last-Modified:Tue, 22 Oct 2013 14:56:43 GMT
Server:
Transfer-Encoding:chunked
Vary:Accept-Encoding

If you skim through our documentation (https://developers.google.com/speed/docs/insights/LeverageBrowserCaching), you'll notice that you are not setting an 'Expires' or a 'Cache-Control' header. When set properly, those headers prevent the browser form issuing a requests for content that it already has in cache. Set one of those two headers correctly, and you should be good to go. This goes for all of the content listed under that rule for which you have control of.

I am not familiar with Hyper Cache, but you may find more support for getting it configured properly in their support forum: http://wordpress.org/support/plugin/hyper-cache


-dave mankoff
Reply all
Reply to author
Forward
0 new messages