• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Browser Cache with mod_expires

Taimon

New Pleskian
Hi,

I have the problem whit die Browser Cache from my website.
I have greatet a .htaccess whit follow inputs:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month 1 days"
ExpiresByType text/html "access plus 1 month 1 days"
ExpiresByType image/gif "access plus 1 month 1 days"
ExpiresByType image/jpeg "access plus 1 month 1 days"
ExpiresByType image/png "access plus 1 month 1 days"
ExpiresByType text/css "access plus 1 month 1 days"
ExpiresByType text/javascript "access plus 1 month 1 week"
ExpiresByType application/x-javascript "access plus 1 month 1 days"
ExpiresByType text/xml "access plus 1 seconds"
</IfModule>

With this .htaccess can't running the browser caching, i have test very much other configuration but the browser caching can't running.
My problem is, is running the mod_expires.c in plesk now, or must I change the configuration?
What can i do that the browser caching running on my server?
My Configuration is:
BS CentOS 6.3 (Final)
Panel-Version 11.0.9 Update #28

Best Regards
 
I can suggest:

Install mod-pagespeed for APACHE.
This module can speed up your pages a lot.
yum install at
rpm -Uhv https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
If all goes well, the module is already installed now, just restart apache. You can check if exist /etc/httpd/conf.d/pagespeed.conf Also you can play with this conf file as you like to test the best performance. Eventually I prefer to deactivate ModPagespeedStatistics OFF
 
You need to be running php as an apache module, are you?

Hi

I have change the settings to apache module in Service Packages, Hosting Parameter.
Before is was FastCGI.
I hope you mean this?

I have restart the apache but it's still not suffer.
To what it might be yet?

Thanks for your help!
 
Last edited:
I can suggest:

Install mod-pagespeed for APACHE.
This module can speed up your pages a lot.
yum install at
rpm -Uhv https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm
If all goes well, the module is already installed now, just restart apache. You can check if exist /etc/httpd/conf.d/pagespeed.conf Also you can play with this conf file as you like to test the best performance. Eventually I prefer to deactivate ModPagespeedStatistics OFF

Ok Thanks i will test this, is this not a problem with Plesk?
 
Back
Top