pagespeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-pagespeed-mod] nicolauria commented on issue #1986: Uncacheable content, preventing rewriting of...
Date Thu, 26 Mar 2020 22:35:52 GMT
nicolauria commented on issue #1986: Uncacheable content, preventing rewriting of...
URL: https://github.com/apache/incubator-pagespeed-mod/issues/1986#issuecomment-604722538
 
 
   Thank you so much Lofesa. The second link your provided which details how to disable the
the Vary Header solved the problem for me. My js and css files are now being combined. For
anyone else who might read this, I also had to remove the ids from my link tags which were
preventing the combining of css files. Added to functions.php:
   
   ```
   function remove_style_id($link) {
     return preg_replace("/id='.*-css'/", "", $link);
   }
   add_filter('style_loader_tag', 'remove_style_id');
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message