Jump to: navigation, search
MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > Configuring server for browser caching and compression of data to be transferred from the server to the browser


Baya Administration

Configuring Baya

How to: Baya

Troubleshooting: Baya

Related Topics:



Overview

  • The performance of the web client has been enhanced in Connect Xf 3.12 by enabling browser caching and compression of data to be transferred from the server to the browser.
  • By default browser caching using the browser resource expiry directive and page speed are enabled.
  • The configuration section details the steps to enable or disable both these settings.

Server Configuration

Enable/disable browser resource expiry

  • Open the resource cache configuration file of http
vi /etc/httpd/conf.d/1.resource.cache.conf
  • To enable resource caching, un-comment the following lines (remove the # at the start of each line):
#<IfModule mod_expires.c>
#	ExpiresActive On
#	ExpiresDefault "now plus 1 hour"
#</IfModule>
  • To disable resource caching, comment the following lines (add a # at the start of every line)
<IfModule mod_expires.c>
	ExpiresActive On
	ExpiresDefault "now plus 1 hour"
</IfModule>
  • Save the file
  • Restart the httpd service
/etc/init.d/httpd restart


Enable/disable page-speed

  • Open the pagespeed configuration file
vi /etc/httpd/conf.d/pagespeed.conf
  • Search for ModPagespeed
  • To disable the page speed module, change the line as follows:
ModPagespeed off
  • To enable the page speed module, change the line as follows:
ModPagespeed on
  • Save the file
  • Restart httpd service
/etc/init.d/httpd restart