Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @12:41PM
(#7416148)
Plain prerendered html5 with no JS was not available?
[ Parent
| on HN ]
Re:Making ubuntu.com responsive
by JetSpiegel on Monday March 17, 2014 @12:43PM
(#7416162)
Where's the framework for that?
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @01:04PM
(#7416356)
the great text files framework.
Re:Making ubuntu.com responsive
by JetSpiegel on Monday March 17, 2014 @01:52PM
(#7416723)
And its IDE, vim.
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @02:01PM
(#7416806)
I prefer nano, as it reminds me to keep the files short.
fenchurch
Re:Making ubuntu.com responsive
by FooBarWidget on Monday March 17, 2014 @03:09PM
(#7417315)
What makes you think www.ubuntu.com is not prerendered html5?
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @03:50PM
(#7417607)
The page: http://design.canonical.com/2014/03/making-ubuntu-com-respon...
Shows as 112 KB by lori in FF. Really? 1/10 MB for a page of text?
jQuery was probably already cached on your end, all 300kb of it
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @07:16PM
(#7418784)
Yes, probably. but that means there is still 100+KB being sent over the wire each time...
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @03:51PM
(#7417617)
And since
http://design.canonical.com/2014/03/making-ubuntu-com-respon...
goes 404, I assume there's a handler that built the page on the fly.
No?
No, e.g. I use this rule in my .htaccess on my blog:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^.*\.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{REQUEST_FILENAME}.html
Which means you can access:
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @05:01PM
(#7418067)
ok, so where's the .html file for that page?
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @05:04PM
(#7418076)
I went to http://www.canonical.com/index.html and there was a 404.
Surely there should be something there...
Re:Making ubuntu.com responsive
by chris_mahan on Monday March 17, 2014 @05:06PM
(#7418086)
There's also no robots.txt... Odd for a static site don't you think?