Hi Bob and Thiago, thank you for pointing me to the right direction! Problem solved.
It is NOT Tapestry related: Chrome's PageSpeed audit tool chooses to ignore Tapestry's 10-year-in-the-future "Expires" response header. But during actual browsing the assets are actually cached (seeing "200 from cache"). Google seems to take the position that "Expires" response headers are "superseded." While Chrome honors "Expires" during browsing, it will also look for a "Cache-Control" in response headers. See https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching#cache-control On Sun, Dec 21, 2014 at 2:54 PM, Thiago H de Paula Figueiredo <thiag...@gmail.com> wrote: > Another thing to check: production mode is off? > > > On Sun, 21 Dec 2014 17:34:39 -0200, Bob Harner <bobhar...@gmail.com> wrote: > >> Be sure production mode is on and that your links to the asset are using >> the asset: or context: binding prefix. >> >> Can you give us a typical asset URL (as seen by the browser)? That might >> give us some hints. >> >> Also be sure the expires headers aren't being removed by a proxy or CDN. >> Hint: doest the issue happen on your desktop with local host, or only when >> running on a server? >> On Dec 21, 2014 11:55 AM, "Harry Zhou" <superha...@gmail.com> wrote: >> >>> Hi! >>> >>> About my T5.4 site, Google is complaining that "resources are missing >>> a cache expiration. Resources that do not specify an expiration may >>> not be cached by browsers . . . " >>> >>> I read that "assets get a far-future expires header" and will be >>> "client browsers will aggressively cache downloaded assets." So I am >>> not sure why responses for my assets all come with >>> "Cache-Control:no-cache" and "Pragma:no-cache". >>> >>> Any help would be appreciated. Thanks! >>> >>> Best Regards >>> Harry >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > -- Best Regards Harry Zhou --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org