Welcome Guest, Not a member yet? Register   Sign In
Output cache - caches even with POST?
#4

[eluser]n0xie[/eluser]
Well the advantage of using GET for search is that you have unique url's per searchquery which will make caching work by default. Also you give people the option to link directly to a searchpage with filters in it.

For instance:
Code:
http://domain.tld/products/search?product=nokia&city=new york

This would give all the products related to Nokia in the New York area. This is both easily cachable and hotlinkable. You could add as many filters as you want. (date, city, whatever).


Messages In This Thread
Output cache - caches even with POST? - by El Forum - 03-16-2010, 02:06 AM
Output cache - caches even with POST? - by El Forum - 03-16-2010, 03:04 AM
Output cache - caches even with POST? - by El Forum - 03-16-2010, 07:32 AM
Output cache - caches even with POST? - by El Forum - 03-16-2010, 08:10 AM
Output cache - caches even with POST? - by El Forum - 03-17-2010, 02:31 AM
Output cache - caches even with POST? - by El Forum - 03-17-2010, 03:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB