Want more timely Centmin Mod News Updates?
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:
    11:08 AM
    how to flush the pagespeed cache?
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,979
    966
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,331
    Local Time:
    9:08 PM
    1.11
    10.2
    I think: rm -rf /var/ngx_pagespeed_cache/*
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,420
    Local Time:
    11:08 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