NOTE: Mod-rewrite must be disabled before doing this test.
Part 1
- create an after hook to m:OnAfterConfigRead event
- in above created hook append new key/value pair to QueryString array (beware not to break index sequence)
- while on homepage click on any other page link (within same website)
- confirm, that - count in env request variable has increased by 1
- alter url in browser by hand and append any value after last - in the env request variable
- confirm, that links on page after it has been reloaded now contain manually appended value
Part 2
- put breakpoint in hook to the m:OnAfterConfigRead event created before
- clear cache (e.g. restart memcache OR truncate SystemCache table)
- reload page url
- confirm, that hook was called (that was from cold start)
- reload page url
- confirm, that hook was called (that was from warm start)