[
https://issues.apache.org/jira/browse/WICKET-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007683#comment-13007683
]
Martin Grigorov commented on WICKET-3541:
-----------------------------------------
Object.hasOwnProperty is not portable (problems in IE).
Why do you prefer it instead of using dict[someKey] ?
This caching may need support for expiration/eviction.
For example if you sell goods and your user looks for good1 and this is cached
at client side, later she makes the same lookup and this time the product is
out of stock then the backend will not return it but with cache it will still
show it and be able to send it back to the backend as "selected" product.
> Cache support for AutoComplete
> -------------------------------
>
> Key: WICKET-3541
> URL: https://issues.apache.org/jira/browse/WICKET-3541
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 1.4.16
> Environment: Any
> Reporter: Edwin Ariel Ferreira Betances
> Priority: Minor
> Labels: ajax, wicket
> Attachments: wicket-autocomplete-cache.patch
>
>
> Adds caching support for the AutoCompleteBehavior behavior. Also allows this
> feature to be disabled.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira