apache - Specifying base URL with mod_pagespeed? -
i've installed mod_pagespeed , i'm trying figure out if possible do.
example url:
<script src="/assets/build/js/test.js"></script>
the above url rewritten this:
<script src="/assets/build/js/test.js.pagespeed.jm.qcz72nus30.js"></script>
what urls rewritten base of operations of website or folder specific. example, prefer rewritten url appear this:
<script src="/test.js.pagespeed.jm.qcz72nus30.js"></script>
or this:
<script src="/sample-folder/test.js.pagespeed.jm.qcz72nus30.js"></script>
is that's possible configure mod_pagespeed? want images, javascript, , css files. in advance help may able provide!
no, isn't possible mod_pagespeed. here url rewrite command options available you:
https://developers.google.com/speed/pagespeed/module/restricting_urls
you can rewrite url's apache's mod_rewrite. however, note next limitations when doing so:
https://code.google.com/p/modpagespeed/issues/detail?id=676
apache cpanel pagespeed mod-pagespeed google-pagespeed
No comments:
Post a Comment