Redesign of dlang.org
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 2 07:10:35 PDT 2014
On 01/06/14 21:56, w0rp wrote:
> You just reminded me to put in a query string version hack at some
> point. I typically use something like ?v=<epoch_of_server_start> or
> similar.
That's not reliable. It's usually assets that are the problem, CSS, JS,
images and so on. They should have a unique hash based on the content
appended to the filename. Then you can have really long cache timeout
(or what it's called) on those files.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list