Static html pages and templates

polaris · · 529 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<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 &#34;page print&#34;, as we used to call it in our company? If you are going to only host &#34;pre-composed&#34; static pages, you don&#39;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&#39;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

529 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传