Reducing or Lengthening Cache Duration
- Open ~\app_code\cscode\httpmodules\urlaliasingmodule.cs
- Navigate to line 47(ctrl + g). You will see the cache set to five minutes by default. Adjust this to the desired value.
Turning off URL Aliasing Caching
- Open ~\app_code\cscode\httpmodules\urlaliasingmodule.cs
- Comment out lines 68, 79, and 89 (where the items are inserted into the cache). This makes it so if you change a template for a content item the aliases reflect that change immediately. Because the alias request has to be loaded from disk instead of memory, this will slow alias requests and is not recommended by to be used.