Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx PageSpeed how to flush pagespeed cache?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Guilherme Jaccoud, Jul 31, 2014.

  1. Guilherme Jaccoud

    Guilherme Jaccoud Member

    63
    30
    18
    May 29, 2014
    Ratings:
    +30
    Local Time:
    2:51 PM
    how to flush the pagespeed cache?
     
  2. rdan

    rdan Premium Member Premium Member

    4,196
    1,014
    113
    May 25, 2014
    Ratings:
    +1,438
    Local Time:
    1:51 AM
    Mainline
    10.2
    I think: rm -rf /var/ngx_pagespeed_cache/*
     
  3. eva2000

    eva2000 Administrator Staff Member

    34,623
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,771
    Local Time:
    3:51 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah that's how I do it

    @Guilherme Jaccoud
    Code:
    rm -rf /var/ngx_pagespeed_cache/*
    ngxrestart
    official way according to docs is at PageSpeed System Integration - PageSpeed Module — Google Developers
    so for Centmin Mod ngx_pagespeed
    Code:
    touch /var/ngx_pagespeed_cache/cache.flush
     
..