HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: How to Speed up Vanillicons
-
Re: How to Speed up Vanillicons
I changed the way static and autostatic send back cache headers. We were using nginx's "expires max" directive, but I change it to "expires 1M". When given "expires max", nginx actually breaks the RFC which states that things can be cached for max 1 year. So perhaps some browsers saw that invalid Expires header and… -
Re: How to Speed up Vanillicons
I think we agree here, but we had an error with our response headers where the max-age was more than a year which would then cause a lot of browsers to disregard the cache entirely. @ddumont, do you think it's better to have Cache-Control: public rather than Cache-Control: max-age=2592000? Do you think we can put both… -
Re: How to Speed up Vanillicons
Request URL:http://static.cl1.vanilladev.com/www.vanillaforums.org/uploads/userpics/n5IAOG4PKFCBY.jpg Request Method:GET Status Code:304 Not Modified Request Headers Cache-Control:max-age=0 If-Modified-Since:Thu, 10 Mar 2011 21:39:30 GMT Response Headers Cache-Control:max-age=2592000 Expires:Fri, 16 Dec 2011 15:58:42 GMT… -
Re: How to Speed up Vanillicons
I think either we're misunderstanding each other, or you're not seeing what I'm seeing. When I go to the root discussion list and then click into this discussion, my network panel shows this: That, to me, looks like optimal performance, and as you can see by the response headers, I have not changed anything. -
Re: How to Speed up Vanillicons
http://bayimg.com/FAKNDaaDP I know, Tim. I'm not trying to be argumentative. But you're using 3. I would argue it's not necessary (because of the unique name every icon will get when uploaded). It would also perform much better to use 4. As you can see here, there's a server request for each image. It happens to be fast,… -
Re: How to Speed up Vanillicons
Just as an FYI on how Vanillicon works: 1. All of the images are unique and served with maximal browser caching headers so browsers should not reload them once they are in the cache. Just as @ddumont suggests. 2. We do settle on 100x100 icons and use them everywhere. We'd rather serve one larger image than multiple… -
Re: How to Speed up Vanillicons
One thing to consider (hey, i looked at the net tab this time :) is changing your caching strategy. Since your site is generating the markup for these profile images, you can make sure they are unique, and versioned. Set a cache control public on them with a 1 yr expire. The browsers won't have to ask the server if they've… -
Re: How to Speed up Vanillicons
Using this link: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.htmlThe expiration time of an entity MAY be specified by the origin server using the Expires header (see section 14.21). Alternatively, it MAY be specified using the max-age directive in a response. It goes on to say setting maxage and Expires will have…
9 results