Hi there,

i need to understand the caching options better. So, i have serval Questions ;)

I added some Cacherules like these:

        location  /js {
                add_header        Cache-Control public;
                add_header        Cache-Control must-revalidate;
                expires           7d;
    }


        location  /css {
                add_header        Cache-Control public;
                add_header        Cache-Control must-revalidate;
                expires           7d;
    }

        location  /img {
                add_header        Cache-Control public;
                add_header        Cache-Control must-revalidate;
                expires           7d;
    }

        location  /bundles {
                add_header        Cache-Control public;
                add_header        Cache-Control must-revalidate;
                expires           7d;
    }

        location  /alloyeditor {
                add_header        Cache-Control public;
                add_header        Cache-Control must-revalidate;
                expires           7d;
    }

No when i browser arround Chrome said „From cache“ that works fine for me but 
when i reload the Website it seems that only *.JPGs comming from the cache.
Is that a Browser issue or a nginx issue? Need to know where i have to search ;)

Closing the browser and start again it dont came from cache - but as i 
understand i say it will expire in 7 Days - so why nit not comming from local 
cache?

Cheers

Daniel

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to