Discover Centmin Mod today
Register Now

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:56 AM
    how to flush the pagespeed cache?
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    1:56 PM
    1.11
    10.2
    I think: rm -rf /var/ngx_pagespeed_cache/*
     
  3. eva2000

    eva2000 Administrator Staff Member

    28,988
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    3:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    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