These two URLs are most likely to be the same:
http://host?var2&var1
http://host?var1&var2
However, this library will cache both separately, which is a waste of resources.
There are many other examples of when URLs can be similar or exact, and situations where the server is not trusted and should be cached separately. I've been writing a library that accurately normalizes and provides "common" (trusted) and "careful" (untrusted) profiles.
Is this a feature you'd consider implementing?
These two URLs are most likely to be the same:
http://host?var2&var1http://host?var1&var2However, this library will cache both separately, which is a waste of resources.
There are many other examples of when URLs can be similar or exact, and situations where the server is not trusted and should be cached separately. I've been writing a library that accurately normalizes and provides "common" (trusted) and "careful" (untrusted) profiles.
Is this a feature you'd consider implementing?