<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Clear_mod_pagespeed_cache</id>
		<title>Clear mod pagespeed cache - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Clear_mod_pagespeed_cache"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Clear_mod_pagespeed_cache&amp;action=history"/>
		<updated>2026-06-04T08:00:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Clear_mod_pagespeed_cache&amp;diff=803&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==clear mod_pagespeed cache==  The Apache module mod_pagespeed can be used to automatically make web pages faster without effort. It promises a 50% speed boost. I’ve been us...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Clear_mod_pagespeed_cache&amp;diff=803&amp;oldid=prev"/>
				<updated>2014-08-06T13:43:41Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==clear mod_pagespeed cache==  The Apache module mod_pagespeed can be used to automatically make web pages faster without effort. It promises a 50% speed boost. I’ve been us...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==clear mod_pagespeed cache==&lt;br /&gt;
&lt;br /&gt;
The Apache module mod_pagespeed can be used to automatically make web pages faster without effort. It promises a 50% speed boost. I’ve been using for some time and can confirm that there is a definitive speed increase.&lt;br /&gt;
&lt;br /&gt;
But there is a big problem when I update the styling of my blog. When I change the theme css file, I do not see the changes. In the beginning I thought it was caused by the caching plugin I use. But after deactivating the plugin, the problem persisted. Using Ctrl-F5 did not help either. I also opened the CSS in the browser and pressed Ctrl-F5. Nothing worked.&lt;br /&gt;
&lt;br /&gt;
Finally, I understood that mod_pagespeed was responsible for it. So I just needed to clear its cache. Unfortunately it seems to be only possible from the command line. So first open a shell. Then you need to find out where the cache is. It is configured in pagespeed.conf. So either open the file and search for ModPagespeedFileCachePath or execute the following:&lt;br /&gt;
&lt;br /&gt;
===Find your mod_pagespeed cache location===&lt;br /&gt;
 grep -i &amp;quot;^ *modpagespeedfilecachepath&amp;quot; /etc/httpd/conf.d/pagespeed.conf&lt;br /&gt;
&lt;br /&gt;
Resulting in &lt;br /&gt;
&lt;br /&gt;
 ModPagespeedFileCachePath            &amp;quot;/var/cache/mod_pagespeed/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Create the mod_pagespeed flush cache file===&lt;br /&gt;
&lt;br /&gt;
Now you will want to create a file in that directory called cache.flush&lt;br /&gt;
&lt;br /&gt;
 touch /var/cache/mod_pagespeed/cache.flush&lt;br /&gt;
&lt;br /&gt;
You can leave this file there, as it goes off the time stamp to figure out which cache files need refreshed.&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>