Google PageSpeed Module



  • Austin Spires

    Hi @rafaelmagic!

    Putting Fastly in front of your PageSpeed-optimized site should work well. Google PageSpeed works to optimize your site for general web performance best practices, and these optimizations will also improve your performance with Fastly.

  • rafaelmagic


    Good to hear. I also been looking at the WP Fastly plugin which should take care of the Headers.

    I also have a few questions:

    1)Should I delete my .htaccess Browser Cache code?

    2)Is your Varnish VLC caching HTML?

    3)I currently have Varnish in my server should I Exclude the name by Pass or Pipe?

    4)I belive Google Page Module adds headers, any conflicts, work arounds?

    I plan to try out Fastly while maintaing Varnish for my other sites..

  • Austin Spires

    I may have spoken too soon with my previous response. There are a few considerations with working with PageSpeed and Fastly:

    Following the steps in the guide above address some of your questions. But, to fully use Fastly's WordPress plugin, we'll need to enable the final areas of functionality for your account -- this will set the appropriate objects (like your admin tools) to pass through the cache properly.

    If you email we can enable this for you.

  • Rogier Mulhuijzen
    1. You can still keep Cache-Control headers around, see for a detailed dive into why.
    2. The default VCL we generate does indeed cache HTML.
    3. You can keep using your own Varnish for caching, if you want. If you want to exclude the hostname for your WP blog, I would advise using pass. pipe is really only meant for instances where the protocol isn't actually HTTP(/1.1). Whether or not to pass through traffic for your Fastly hosted content is up to you. For simplicity sake passing it through would probably be best.
    4. It depends somewhat on which headers and what values.

Please sign in to leave a comment.