<!--
page-param:
Set to the querystring variable that determines when a new page is built from the database
cache-folder:
Set to a Physical file path like C:\DotNetNuke
or to a virtual path from the root of your website, e.g. /portals/_default/Cache
If you are running under a virtual directory then you will need to include that as part of the
virtual path, e.g. /DotNetNuke/portals/_default/Cache
The directory you use must exist first, and must have modify permissions set
for the identity that your website is running under.
config-folder:
The configuration file for each dynamic page will be stored in this folder.
Make it a seperate folder from the cache to facillitate delete of cache files without harming config files.
cached-roles:
A semi-colon seperated list of roles that you want to cache (can use regular-expressions)
cached-users:
A semi-colon seperated list of usernames that you want to cache (can use regular-expressions)
cached-languages:
A semi-colon seperated list of languages that you want to cache (can use regular-expressions)
limiting the languages that you cache will make the number of cached pages lower and increase performance
especially on a low traffic site that has visits from multiple countries
leave this attribute blank if you are not serving pages differently based on language
if this attribute is not blank and the users accepted language does not match any of the cached languages
then the first cached language in the list will be used.
blocked-useragents:
specify user agents to block in a semi-colon seperated list (regular expressions can be used)
blocked-ipaddresses:
specify IP addresses to block in a semi-colon seperated list (regular expressions can be used)
memory-cache-interval:
Specify a time span in days:hours:minutes:seconds for a cached page to stay in memory.
memory-size-limit:
Set to to limit the size of the cache in memory (Megabytes)
disk-cache-interval:
Specify a time span in days:hours:minutes:seconds for a cached page to stay on the disk
after the disk cache interval has elapsed the cached page will be recreated automatically the
next time it is called.
disk-size-limit:
Set to to limit the size of the cache on disk (Megabytes)
compression-algorithm:
Specify the preferred algorithim for HTTP compression (gzip or deflate)
compression-level:
Specify the level of compression ( Highest, Higher, High, More, Normal , Less, Low, Lower, Lowest, None )
The higher the level the more time and more CPU resourses your server will need
"High" is a good compromise of compression to server resources
:
Each request will be checked against this list of paths to see if it should be excluded
from caching/compression. The pattern attribute uses Regular Expressions.
Specify the most like paths first so to speed up this process.
Only requests of content-type="text/html" that are authenticated
are cached/compressed so this should be a limited list
The exludePath of
will exclude all requests that do not have "tabid" in the querystring unless they do not have any querystring.
:
The trace node allows you to turn on tracing to a log file.
The settings for level are None, Exceptions, Information and Debug.
Setting the level to Debug will produce a lot of entries to the log, and should only be used for short periods of time
to diagnose problems. After changing the level attribute, the application will need to be restarted to make it take effect.
Replacement Filters can be included in this section.
Introduced in the 2.1.0 version of PageBlaster. A generic replacement filter that is already configured
for white space removal. You can also add other replacement rules here that will be applied to all pages.