All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

Which mod_pagespeed functions do you support?

Date Submitted: 9-25-2012

Our Linux-based Web Hosting accounts can use mod_pagespeed, which is an open-source module that optimizes Web pages and their resources for better performance. For more information, see Google's documentation.

You can enable it on your hosting account through a .htaccess file. Here's an example of the coding you can include in your .htaccess file to enable the Extend Cache function:

<IfModule pagespeed_module>
   ModPagespeed on
   ModPagespeedEnableFilters extend_cache
</IfModule>

You can enable the following functions using the ModPagespeedEnableFilters directive:

Functionpagespeed.conf Code
Extend Cacheextend_cache
Collapse Whitespacecollapse_whitespace
Combine CSScombine_css
Move CSS to HEADmove_css_to_head
Elide Attributeselide_attributes
Remove Commentsremove_comments

For more information about a mod_pagespeed function, click its link from the Function column.

Other Features of mod_pagespeed

You can also enable the following directives in the .htaccess file:

  • ModPagespeedDisallow <file pattern>
  • ModPagespeedAllow <file pattern>
  • ModPagespeedMapOriginDomain <IP> <hostname>
  • ModPagespeedMapRewriteDomain <target domain> <source domain>

For more information about using these directives, see Using mod_pagespeed.

We are still testing any mod_pagespeed functions not yet listed for compatibility, performance, and reliability. Because mod_pagespeed is still in a beta offering, its features might change. We also cannot guarantee that any enabled modules will not conflict with your website's existing content.

Rate This Article:

Have a question about the content of this article?