Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 928025 of ページの再生成

  • リビジョンの URL スラグ: MDN/Contribute/Tools/Page_regeneration
  • リビジョンのタイトル: ページの再生性
  • リビジョンの ID: 928025
  • 作成日:
  • 作成者: hamasaki
  • 現行リビジョン? いいえ
  • コメント 日本語訳作成。
タグ: 

このリビジョンの内容

MDN サイトは性能上の理由でページをキャッシュしています。 As a result, changes that you save to a page might not appear when you next reload the page. Often, but not always, a banner appears on the page indicating that an update of the page is in process. You can do a "force refresh" in your browser to reload the page from the server, but this may have no effect if the update on the server has not completed.

Some pages (especially landing pages) use macros to  automatically generate and update their content. For landing pages, doing this ensures that new articles are automatically listed on the page, without a writer having to manually add them. This is a helpful convenience for long-time contributors, and helps newcomers avoid having their work lost in the shuffle because they didn't know how to link their articles into the site hierarchy.

This can also be used when transcluding content from one page into other pages (using, for example, the {{TemplateLink("Page")}} macro).

MDN は性能上の理由でレンダリングしたコンテンツをキャッシュしているため、元の素材(たとえばマクロの出力や引用されるページ)に加わった変更は自動的にはページに反映されません。そのような元の素材に頻繁に変更が加わることがわかっているならば、ページの自動生成を有効にすることを検討したくなるかもしれません。

自動生成を有効にするには:

  1. Click the Edit button on the page to enter edit mode.
  2. Under the page title, click Edit page title and properties located near the page title. The page metadata fields appear.
  3. Set a  value for Rendering max age. This value determines the schedule on which the cached page is rebuilt, including re-running its macros. Typically, we use 4 or 8 hours for this. For a technology whose documentation is changing rapidly, you might choose a lower number.
  4. Save your changes to the page. It's a good practice to make a revision comment describing what you did, such as "Set rendering max age to 4 hours". 

ページは指定したスケジュールに従って再生成されます。

Note: The "Edit page title and properties" option is not available when creating a new page; you'll have to re-open the editor after your first save.

 

このリビジョンのソースコード

<p>MDN サイトは性能上の理由でページをキャッシュしています。 As a result, changes that you save to a page might not appear when you next reload the page. Often, but not always, a banner appears on the page indicating that an update of the page is in process. You can do a "force refresh" in your browser to reload the page from the server, but this may have no effect if the update on the server has not completed.</p>

<p>Some pages (especially landing pages) use macros to&nbsp; automatically generate and update their content. For landing pages, doing this ensures that new articles are automatically listed on the page, without a writer having to manually add them. This is a helpful convenience for long-time contributors, and helps newcomers avoid having their work lost in the shuffle because they didn't know how to link their articles into the site hierarchy.</p>

<p>This can also be used when transcluding content from one page into other pages (using, for example, the {{TemplateLink("Page")}} macro).</p>

<p><span class="seoSummary">MDN は性能上の理由でレンダリングしたコンテンツをキャッシュしているため、元の素材(たとえばマクロの出力や引用されるページ)に加わった変更は自動的にはページに反映されません。そのような元の素材に頻繁に変更が加わることがわかっているならば、ページの自動生成を有効にすることを検討したくなるかもしれません。</span></p>

<p>自動生成を有効にするには:</p>

<ol>
 <li>Click the <strong>Edit</strong> button on the page to enter edit mode.</li>
 <li>Under the page title, click <strong>Edit page title and properties</strong> located near the page title. The page metadata fields appear.</li>
 <li>Set a&nbsp; value for <strong>Rendering max age</strong>. This value determines the schedule on which the cached page is rebuilt, including re-running its macros. Typically, we use 4 or 8 hours for this. For a technology whose documentation is changing rapidly, you might choose a lower number.</li>
 <li>Save your changes to the page. It's a good practice to make a revision comment describing what you did, such as "Set rendering max age to 4 hours".&nbsp;</li>
</ol>

<p>ページは指定したスケジュールに従って再生成されます。</p>

<div class="note">
<p><strong>Note:</strong> The "Edit page title and properties" option is not available when creating a new page; you'll have to re-open the editor after your first save.</p>
</div>

<p>&nbsp;</p>
このリビジョンへ戻す