mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00

- Global.asax.cs looks for static pages in ~\App_Data\Warmup - Orchard.Warmup module contains methods to generate those pages based on scheduled times, and content publishing --HG-- branch : dev
16 lines
502 B
C#
16 lines
502 B
C#
using Orchard.ContentManagement.Records;
|
|
using Orchard.Data.Conventions;
|
|
|
|
namespace Orchard.Warmup.Models {
|
|
public class WarmupSettingsPartRecord : ContentPartRecord {
|
|
public WarmupSettingsPartRecord() {
|
|
Delay = 90;
|
|
}
|
|
|
|
[StringLengthMax]
|
|
public virtual string Urls { get; set; }
|
|
public virtual bool Scheduled { get; set; }
|
|
public virtual int Delay { get; set; }
|
|
public virtual bool OnPublish { get; set; }
|
|
}
|
|
} |