Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Add ability to control filters with .htaccess #75

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 5 comments
Closed

Add ability to control filters with .htaccess #75

GoogleCodeExporter opened this issue Apr 6, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

This shouldn't be too hard to do: just needs a bit of work.

Original issue reported on code.google.com by jmara...@google.com on 12 Nov 2010 at 6:43

@GoogleCodeExporter
Copy link
Author

This was from "wally" on 
http://m.blogs.sitepoint.com/2010/11/08/optimization-made-easy-with-mod_pagespee
d/

Original comment by jmara...@google.com on 12 Nov 2010 at 6:51

@GoogleCodeExporter
Copy link
Author

If this could be achieved using the Apache directives <Files> and <FilesMatch> 
in .htaccess that would be very helpful.  For example, to disable image 
optimisation for a CAPTCHA image or to turn off JavaScript rewriting for a 
specific directory.

Original comment by dun...@chirp.com.au on 22 Nov 2010 at 5:11

@GoogleCodeExporter
Copy link
Author

I am starting to work on this now.

The initial support will allow selecting filters and thresholds on a 
per-directory basis, but this directory is only used matching the HTML file.

As a follow-on, we will work on allowing filtering for the names of resources 
to rewrite, e.g.

  ModPagespeedEnableResource images/*.png
  ModPagespeedEnableResource styles/*.css
  ModPagespeedDisableResource images/captcha/*

Original comment by jmara...@google.com on 24 Nov 2010 at 8:53

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

This was fixed with release 0.9.11.5.  .htaccess is support is detailed in the 
documentation:

http://code.google.com/speed/page-speed/docs/using_mod.html#htaccess

Original comment by jmara...@google.com on 18 Dec 2010 at 9:21

@GoogleCodeExporter
Copy link
Author

Original comment by sligocki@google.com on 3 Jan 2011 at 7:56

  • Changed state: Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant