PageSpeed Insights and Google CDN issue

104 views
Skip to first unread message

Mariusz Poliński

unread,
May 31, 2017, 8:48:59 AM5/31/17
to pagespeed-insights-discuss
Hi,

We are using Google CDN to cache all our assets and HTML of the page. While testing it with PageSpeed Insights I often get "Improve server response time" error.
We analysed the request headers of PageSpeed Insights tool, it uses "Cache-Control: no-store". According to Google CDN documentation, it disables a CDN.

There are also checks that will block caching of responses. A response will not be cached if any of the following are true:
(...)
The corresponding request had a Cache-Control: no-store directive.
 
These requirements might be relaxed in the future, allowing Cloud CDN to cache additional responses. To prevent a response from being cached, include a Cache-Control: no-store header if the response should not be stored in any cache, even a web browser's cache, or a Cache-Control: private header if it should not be stored in Cloud CDN caches.

Why PageSpeed Insights deliberately bypasses a CDN, and requests to Improve server response time? Our response time is very good, if caching is enabled. Shouldn't PageSpeed Insights tool check the end-user experience? There should be at least an option to check the page with caching and without it.

Regards
Mariusz Poliński
Reply all
Reply to author
Forward
0 new messages