minifying the website
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Fri May 31 12:51:29 PDT 2013
On 5/31/13 1:50 PM, Adam D. Ruppe wrote:
> I'd just upload a file.html.gz (gzip file.html on your own computer) and
> then try to go to dlang.org/file.html
It downloaded the file with name file.html. When opened with an editor,
it showed the garbled compressed content.
> It might just work. If that doesn't, rename file.html.gz to file.html
> and again try it, if it just works, add gzip to your build process then
> upload.
This displays the same garbled compressed content straight in the browser.
> If it doesn't just work, and .htaccess is enabled, try adding this to
> your .htaccess file and then try again:
[snip]
Tried, broke the directory. I recall our admin has disabled .htaccess.
Andrei
More information about the Digitalmars-d
mailing list