Allowing new images to be added
domenic opened this issue · 2 comments
domenic commented
Code is at
Lines 60 to 61 in fc38b65
Lines 757 to 782 in fc38b65
Solutions:
- Leave as-is and get credentials for images.whatwg.org and change the deploy script. Pros: helps spread the load out to multiple servers. So, possibly best for readers. Cons: more complicated and less transparent deploy script, and more servers to administer.
- Change source references to /images/ instead and remove rewriting code. Pros: no rewriting needed anymore. No longer need to host images in both singlepage and multipage, and can 301 the multipage copies. Cons: absolute URLs involve making assumptions; the spec works pretty well otherwise when mounted in a subdirectory.
- Remove rewriting code and leave source as-is. Pros: probably most seamless for spec authors and script maintainers. Cons: we continue duplicating the images in singlepage and multipage.
- Change rewriting code to rewrite multipage to ../images. Pros: no double image hosting; pretty easy to maintain. Cons: requires lots of Wattsi knowledge.
Leaning toward (3) but they all are pretty good.
sideshowbarker commented
I prefer (3) as well, for the reason that as noted it’s the most seamless for spec authors and less costly and potentially error-prone than touching the Wattsi code
annevk commented
We have already done 2 for 404.html
.