Martin Major
Martin Major
See also related [pull request](https://github.com/nette/nette/pull/1485).
@mishak87 My goal was to separate `RequestStorage` and provide redirect to original URL when `restoreRequest()` is called. But `RequestStorage` has dependency to flash messages so I had to separate them...
I've renamed `MessagesStorage` -> `MessageStorage` and `MessagesStorage::isOpended()` -> `MessageStorage::hasMessages()`
I don't know what problem is with FLASH_KEY in IMessageStorage. IMessageStorage stores flash messages into some storage but its key has to be transfered in URL no matter what storage...
@mishak87 And where would you put that constant? In Presenter? So all services, that need to use it (e.g. RequestStorage) had to have dependency on Presenter?
@dg: ok, as I wrote above, my main goal was to refactor RequestStorage, so I have nothing against TabStorage. REQUEST_KEY & FLASH_KEY: When request is restored (and REQUEST_KEY is used)...
I'll look at it till the end of this week (hopefully).
@dg I like your solution and it works great.
> it failed only after 166ms so that would allow a round-trip to the server I guess. Where do you get that 1ms measurement from? The 0-1ms measurement was the...
Hi, thank you for the response! These are two examples of requests that failed much faster: ``` 2020-09-28T13:51:04.469Z DEBUG app/Pool(shared->https://domain:443) Dispatching request [POST /url Strict(433 bytes)] to pool 2020-09-28T13:51:04.481Z DEBUG...