• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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