2017-08-16 01:46:31 +08:00
|
|
|
---
|
|
|
|
name: PURGE
|
|
|
|
---
|
|
|
|
|
|
|
|
PURGE is the default setting for all domains. Therefore PURGE is
|
|
|
|
a no-op. It is included for completeness only.
|
|
|
|
|
|
|
|
A domain with a mixture of NO_PURGE and PURGE parameters will abide
|
|
|
|
by the last one.
|
|
|
|
|
|
|
|
These three examples all are equivalent.
|
|
|
|
|
|
|
|
PURGE is the default:
|
|
|
|
|
|
|
|
{% include startExample.html %}
|
|
|
|
{% highlight js %}
|
|
|
|
D("example.com", .... ,
|
|
|
|
);
|
|
|
|
{%endhighlight%}
|
|
|
|
{% include endExample.html %}
|
|
|
|
|
|
|
|
Purge is the default, but we set it anyway:
|
|
|
|
|
|
|
|
{% include startExample.html %}
|
|
|
|
{% highlight js %}
|
|
|
|
D("example.com", .... ,
|
|
|
|
PURGE,
|
|
|
|
);
|
|
|
|
{%endhighlight%}
|
|
|
|
{% include endExample.html %}
|
|
|
|
|
|
|
|
Since the "last command wins", this is the same as `PURGE`:
|
|
|
|
|
|
|
|
{% include startExample.html %}
|
|
|
|
{% highlight js %}
|
|
|
|
D("example.com", .... ,
|
|
|
|
PURGE,
|
|
|
|
NO_PURGE,
|
|
|
|
PURGE,
|
|
|
|
NO_PURGE,
|
|
|
|
PURGE,
|
|
|
|
);
|
|
|
|
{%endhighlight%}
|
|
|
|
{% include endExample.html %}
|