If you are using GET params for search, your search result itself becomes 
identifiable as a distinct url. This kinda search result can be optimised in a 
lot of ways. The best way IMHO is using a reverse proxy server to cache it 
based on the url with a apt ttl.
-Shantanu

Sent from Samsung tablet

will trillich <[email protected]> wrote:

>When the search-screen has a dozen or more fields (client requirements),
>it's more likely that we use a POST instead of a GET. Bookmarking THAT ain't
>so easy.
>
>So instead of reiterating the original question, let me ask a related
>question:
>
>What's a good way to cache a search (so the user can page-up/page-down)? Can
>we just
>
>    $c->session( search_rs => $rs->search({%params}) )
>
>I imagine that would take up a lot of space in the session record, but maybe
>that's not much of a consideration...
>
>...or is there a straightforward way to serialize the search parameters?
>What's the consensus on this?
>
>
>On Tue, Sep 27, 2011 at 12:47 AM, Andrew Rodland 
><[email protected]>wrote:
>
>> On Mon, Sep 26, 2011 at 5:29 PM, Marius Olsthoorn <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Consider using the query part of the URI to represent the search.
>>> Browsers are very good at bookmarking these :)
>>>
>>
>> What in the world is that supposed to mean? Are browsers *bad* at saving
>> bookmarks for other kinds of URLs?
>>
>> _______________________________________________
>> List: [email protected]
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> http://www.mail-archive.com/[email protected]/
>> Dev site: http://dev.catalyst.perl.org/
>>
>>
>
>
>-- 
>"The very nucleus of Character: to do what you know you should do, when you
>don't want to do it." Stephen Covey
>
>_______________________________________________
>List: [email protected]
>Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>Searchable archive: http://www.mail-archive.com/[email protected]/
>Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to