• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue mod_pagespeed not being applied to old sites only new ones

Twincarb

New Pleskian
As per the title, I have mod_pagespeed installed and when I create a new domain or subdomain then the pages are rendered with the expected coversions css into 1 file js into 1 file, jpg's coverted to webp format etc.
When I look at domains and sub domains that are older they don't have the same modifications applied, mod_pagespeed is running on them because various elements are showing pagespeed is looking at the page.
There are no custom pagespeed rules in any of the sites, I thought it may have required the configuration files to be rebuilt, however this doesn't change the observed mod_pagespeed behaviour.
Any help would be appreciated in getting the older sites working as expected.
 
can't really help about this because i use pagespeed for nginx i'll just tell you about my experience with pagespeed

in some sites it works in some it doesn't in some combines files in some nope you'll have to try debug ?PageSpeedFilters=+debug
 
Thanks for the pointer @dopeboy just incase anyone else faces a similar issue I have added some more information below.

Add ?PageSpeedFilters=+debug to the end of the url your interested in, or any on the domain and have a look at the produced page source code, ?PageSpeedFilters=+debug will add comments into your html to be able to see why pagespeed was unable to apply the transformations that your expecting.

The culprit that I had was within my .htaccess file preventing mod_pagespeed from doing its stuff
Code:
<IfModule mod_headers.c>
    Header merge Cache-Control "no-transform"
</IfModule>
Rather than removing the above lines from the .htaccess I added the following line to the Additional directives for HTTP/HTTPS
Code:
APACHE
ModPagespeedDisableRewriteOnNoTransform off
If your using NGINX the following would be required in the NGINX directives
Code:
NGINX
pagespeed DisableRewriteOnNoTransform off;
After this rechecking the page source code will show if things were successful or any further issues :)
 
yes i was asking for that because well without some logs no one here can help you doesn't matter how much knowledge or experience they have always keep that in mind when you search for help give as much details as you can
 
Back
Top