• Resolved Derezomov

    (@alex-mi)


    I have set up Cache control as following:

    public, max-age=31536000, must-revalidate (1 year)

    The default is: max-age=36000, must-revalidate (10 hours)

    But there is no effect, the default 10 hours is still used, confirmed by GTMetrix and Webpagetest.org

    I use Stateless Mode: Store and serve media files with Google Cloud Storage only. Media files are not stored locally.

Viewing 2 replies - 1 through 2 (of 2 total)
  • blendjasper

    (@blendjasper)

    I was wondering about the same issue:

    Here my images are tested out at 24 hours:

    https://www.evernote.com/l/AV6wEiMfU6tJc6IZhvd64kmkp7t_lbTlFU0

    But I have it configured as 7 days:

    “Cache-Control
    public, max-age=604800, must-revalidate

    Override the default cache control assigned by GCS.”

    Thread Starter Derezomov

    (@alex-mi)

    Yep, I saw in an older ticket: new uploaded images will automatically get the new cache control, but you just need to re-sync to make it work for all previous images. Tested with gtmetrix and webpagetest and works.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cache-Control not working?’ is closed to new replies.