Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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

@GoogleCodeExporter GoogleCodeExporter commented Apr 6, 2015

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

  • Changed state: Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.