Object-type detection
Web pages are made up of multiple objects. To properly construct pages, you must establish rules to differentiate types of objects:
- Redirects represent objects that refer to another location.
Typically, the server identifies a redirect with an HTTP status code in the 300s. - Containers normally cause the browser to load additional content to satisfy the container's (that is, the web page's) needs, such as HTML, JSP, ASP, and PHP.
- Components always support containers, such as GIF, JPG, CSS, JavaScript, applets, and ActiveX.
- Documents are stand-alone resources that do not require any support, such as PDF files and spreadsheets.
Object-type detection policy is a prioritized list of object-type detection rules. Each rule defines a set of objects and associates it with one of four object types.
By default, the
comes with object-type detection rules that define how the file types or HTTP statuses should be treated by the system.Default object-type detection policies
Priority | Type | Expression |
---|---|---|
1 | Redirect | http_status in (300, 301, 302, 303, 307) |
2 | Document | url.extension in ("pdf","doc","xml") |
3 | Component | mime_type startswith "image" || mime_type contains "javascript" |
4 | Container | url.extension in ("asp", "jsp", "do", "exe", "htm", "dll", "html", "shtml", "php", "ph3", "ph4", "php3", "php4", "php5", "phtml") |
5 | Component | url.extension in ("js","css","gif","jpg","jpeg","png", "GIF", "swf") |
6 | Container | mime_type = "text/html" or mime_type = "text/plain" |
7 | Default catch-all | If a file does not match to any rule, it is considered as a container. |
To view the object-type detection policies, go to a
, point to Administration > Data flow settings, and click Object type detection.Where to go from here
Read more about configuring object-type detection.
Related topics