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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to