Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

clear pagespeed cache

#1. Determine your cache location in pagespeed.conf (your location may vary from this)
sudo grep -i "filecachepath" /etc/apache2/mods-enabled/pagespeed.conf

# The ModPagespeedFileCachePath directory must exist and be writable
ModPagespeedFileCachePath "/var/cache/mod_pagespeed/"

# 2. Touch the cache.flush file
sudo touch /var/cache/mod_pagespeed/cache.flush

# 3. Restart apache

sudo service apache2 restart
Comment

PREVIOUS NEXT
Code Example
Shell :: sed substitute a word in a file by the content in another file 
Shell :: bitnami wordpress enable ssh 
Shell :: bash get text inside quotes 
Shell :: remove a file from git commit history 
Shell :: .m2 folder in unix 
Shell :: terraform download 
Shell :: openzeppelin install 
Shell :: open command linux 
Shell :: command to hit url in linux 
Shell :: git alias variables 
Shell :: git merge without delete files 
Shell :: bash cd root permission denied 
Shell :: flutter sdk download 
Shell :: git list all remote branches created by me 
Shell :: how to compile a python prohram that uses PyQt 
Shell :: mySQL root password config 
Shell :: how to move git clone to another git repo 
Shell :: add unity project to github 
Shell :: react native doest reload 
Shell :: LINUX STRING TO UPPERCASE 
Shell :: how to ls git branch 
Shell :: ssh public key 
Shell :: swagger editor locally 
Shell :: bash comment section to a file 
Shell :: uncommit the last commit 
Shell :: scp all files in currrent directory 
Shell :: git hub 
Shell :: scp command 
Shell :: copying directories in linux 
Shell :: authentication failed github 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =