How to flush Mod PageSpeed cache

Had big problems refreshing an inline CSS style on my site having ModPageSpeed enabled. Usually it is as easy as bumping the ?ver=1.2.3 in the stylesheet URL but wasn't working. I guess since it was inlined, other rules apply?

In any case this one liner will trigger the flushing, at least on my setup:

touch /var/cache/mod_pagespeed/cache.flush
Code language: JavaScript (javascript)

More information

About Ricard Torres

Senior Front-end Software Engineer at Netcentric, from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast

Leave a Reply

Add <code> Some Code </code> if you need to.