apache / incubator-pagespeed-mod

Apache module for rewriting web pages to reduce latency and bandwidth.
http://modpagespeed.com
Apache License 2.0
696 stars 158 forks source link

Seems to a conflict with other js files created when adding mod_pagespeed #1610

Open dawnieando opened 7 years ago

dawnieando commented 7 years ago

HI,

I added mod_pagespeed to an Apache server. All was wonderful. Very fast etc. But then the autofil forms on my project stopped populating. When I then switched off mod_pagespeed they worked again. Seems a conflict of sorts had occurred. Any resources I can go to which will help me overcome this?

Thanks in advance for your help.

oschaaf commented 7 years ago

You could disallow the autofill script if it has compatibility issues with mod_pagespeed: https://modpagespeed.com/doc/restricting_urls

Is it a well-known/frequently used script? If so, could you post which one?

dawnieando commented 7 years ago

Disallow in .htaccess?

It is core.min.js script

oschaaf commented 7 years ago

The top level .htaccess of the vhost should work, you can add:

ModPagespeedDisallow "*/core.min.js"
dawnieando commented 7 years ago

Thanks.

I am going to try this

dawnieando commented 7 years ago

No. That didn't work. The form still stopped auto-filling.

dawnieando commented 7 years ago

I had to switch mod_pagespeed off again