Getting started
Basics
Domains & Origins
Performance

Configuration
Basics
Conditions
Dictionaries
Domains & Origins
Request settings
Cache settings
Headers
Responses
Performance
Custom VCL
Image optimization
Video

Security
Access Control Lists
Monitoring and testing
Securing communications
Security measures
TLS
Web Application Firewall

Integrations
Logging endpoints
Non-Fastly services

Diagnostics
Streaming logs
Debugging techniques
Common errors

Account info
Account management
Billing
User access and control

Reference

    Google Pagespeed module errors

      Last updated October 18, 2017

    If you are using the Google Pagespeed module and notice constant MISSes for HTML pages, check the Cache-Control settings in the module's .htcaccess file.

    By default, Google Pagespeed serves all HTML with Cache-Control: no-cache, max-age=0. This setting conflicts with Fastly's default configuration. If your origin sends the headers Cache-Control: private or Cache-Control: max-age=0, Fastly will pass requests straight to the origin.

    To change the Google Pagespeed directive and leave the original HTML caching headers, update your origin's .htcaccess file with:

    ModPagespeedModifyCachingHeaders off

    More details about the Pagespeed Module can be found within Google Developers directory. For additional information about controlling how long Fastly caches your resources, start with our Cache Control Tutorial

    Back to Top