On 2 Aug 2012, at 10:19 AM, Marek Mollin <[email protected]> wrote: > Managed to notice already. > Thanks. Any simple way of applying that is it in any way odd from a website > to try and do it?
I assume you're serving static content directly with nginx (that is, not through web2py). In that case it's a server configuration issue. If you were using Apache I'd tell you to look at mod_expires; I'm not sure what the nginx equivalent is, but it shouldn't be too hard to find. > > W dniu czwartek, 2 sierpnia 2012 19:15:51 UTC+2 użytkownik Jonathan Lundell > napisał: > On 2 Aug 2012, at 10:02 AM, Marek Mollin <[email protected]> wrote: >> Anyone have any ideas why the same website over ssl is loading much slower. >> I mean mostly images and static content. I am aware of small overhead on >> first request with ssl and handshakes, but images and other static files >> load noticeably slower. >> >> I am running on nginx and ubuntu 12.04. >> Using script from slices, with some changes (added my own ssl certs etc). >> > > Check your headers. Browsers tend not to cache resources obtained over SSL > unless there's a cache control or expires header that explicitly allows it. > > --

