I have installed mod pagespeed on cpanel. when I check using curl -I localhost
I got this
root@testserver [/home/ec2-user]# curl -I localhost
HTTP/1.1 200 OK
Date: Sat, 09 Sep 2017 03:05:51 GMT
Server: Apache/2.4.27 (cPanel) OpenSSL/1.0.2k mod_bwlimited/1.4
Accept-Ranges: bytes
X-Mod-Pagespeed: 1.12.34.2-0
Vary: Accept-Encoding
Cache-Control: max-age=0, no-cache
Content-Length: 111
Content-Type: text/html
but in my test site
HTTP/1.1 200 OK
Date: Sat, 09 Sep 2017 03:13:56 GMT
Server: Apache/2.4.27 (cPanel) OpenSSL/1.0.2k mod_bwlimited/1.4
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: PHPSESSID=3c5aefa2b6891062c16d0958848fc475; path=/
Cache-Control: max-age=0, no-cache
Content-Type: text/html; charset=UTF-8
Can you guys lead me to right direction what is lacking on the configuration. mod_pagespeed is on when I check using httpd -M
root@testserver [/home/ec2-user]# httpd -M
AH00548: NameVirtualHost has no effect and will be removed in the next release / etc/apache2/conf/httpd.conf:10440
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (shared)
cgid_module (shared)
access_compat_module (shared)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
deflate_module (shared)
dir_module (shared)
expires_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_fcgi_module (shared)
proxy_http_module (shared)
proxy_wstunnel_module (shared)
rewrite_module (shared)
setenvif_module (shared)
slotmem_shm_module (shared)
socache_dbm_module (shared)
socache_shmcb_module (shared)
status_module (shared)
suexec_module (shared)
unique_id_module (shared)
unixd_module (shared)
userdir_module (shared)
version_module (shared)
pagespeed_module (shared)
ssl_module (shared)
bwlimited_module (shared)
security2_module (shared)
suphp_module (shared)