<p>This might be an obvious answer but if you have some static HTML pages, and want to generate them using all the same templates files used for dynamic pages, is this done by a separate program which would then place them as gzipped files into their respective directories? Compared to dynamic html which is generated and served on the fly?</p>
<p>iow, if I have one static, rarely changing page that uses the same {{head}} and {{footer}} templates as everything else on a web site, do I have a separate application that generates that page?f</p>
<hr/>**评论:**<br/><br/>Determination: <pre><p>You want to "page print", as we used to call it in our company? If you are going to only host "pre-composed" static pages, you don't even need to run a HTTP server. You can have Amazon S3 or NearlyFreeSpeech.net host it completely for pennies. This is a technique I've used many times to great effect.</p></pre>dhdfdh: <pre><p>Well, no, this is a web site, but I think you answered this question by your answer in the other thread.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传