The redirect to the error page in Umbraco is working, however I have noticed it ignores caching.
Example: When I visit any of the following pages (non valid pages/paths - should 404)
example.com/page-not-here
example.com/page-not-here-either
example.com/doh/page-not-here-either
The node that Umbraco directs to is executed each time and bypasses any caching. Even refreshing the page still executes the template and its cached partials every time.
However, when i go directly to the error page in Umbraco:
example.com/opps-page-not-found/ - The cached partials are correctly cached and not executed until the cache/s has expired.
What I expected - all pages that are not found, would use a cached version of example.com/opps-page-not-found/ if available.
Is this an expected behaviour? How do I get Not Found redirects to use caching
An example of current configuration is:
UmbracoSettings.config
Cache bypassed when using Not Found Error Page
I've setup Umbraco 7.14.0 to handle 404/not found pages as described here: https://our.umbraco.com/documentation/Reference/Config/umbracoSettings/#errors
The redirect to the error page in Umbraco is working, however I have noticed it ignores caching.
Example: When I visit any of the following pages (non valid pages/paths - should 404)
The node that Umbraco directs to is executed each time and bypasses any caching. Even refreshing the page still executes the template and its cached partials every time.
However, when i go directly to the error page in Umbraco:
What I expected - all pages that are not found, would use a cached version of example.com/opps-page-not-found/ if available.
Is this an expected behaviour? How do I get Not Found redirects to use caching
An example of current configuration is: UmbracoSettings.config
Web.config:
is working on a reply...