rejetto forum

Icons sometimes are hidden

0 Members and 1 Guest are viewing this topic.

Offline radiodj105

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Hi there.
I hope you are all fine.

I have noticed that on both HFS Servers (I have installed) with different routers and IPs... something strange happens.
The icons (before the folder names) are missing.
If I press F5, some of them are appeared again.
If I press f5 again, Other appears and other don't.

Do you have something to suggest me?
If someone wants, I can give him the two server-ip to test it.

Thanks for your time.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13309
    • View Profile
hi! did you set a limit on the number of connections in HFS ?


Offline radiodj105

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Well yes but the number of the limit for almost all the values is 10.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13309
    • View Profile
browsers don't handle well this kind of limits


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2039
    • View Profile
in the same idea that we use a session cookie with a unique value to limit the connection time over time,
why not use a token system associated with the loaded web page generated to current user and generated for the current user (ident or  ip) and cached, whose value changes with each main page request or when a requested resource does not send the correct tocken
this token added to the headers orin url  would be used for any resource depending on it would not count these resources as additional connections

example
   <link rel="shortcut icon" href="/favicon.ico?token=%token%">
   <link rel="stylesheet" href="/?mode=section&id=style.css&token=%token%" type="text/css">
 <script type="text/javascript" src="/?mode=jquery&token=%token%"></script>

another solution would be to not count the connections for certain recurring resources which are cached in the browser, but only the main requests

it is always possible to reduce the number of requests by replacing the web links with their equivalent in sections, but this risks partially overloading the content of the pages.

example
   <link rel="stylesheet" href="/?mode=section&id=style.css" type="text/css">
replaced by
<style>{.$style.css.}</style>
« Last Edit: July 08, 2020, 04:52:03 PM by Mars »


Offline radiodj105

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
First I would like to thank all for the help.

And yes, the problem was the limit.

When I choose "2" on "Max Connections from Single address" the problem became worst.
When I left it blank, everything goes fine.

Thanks again, all of you for your time, on my problem,
I really appreciate that.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13309
    • View Profile
@mars, that would be some attempt at limitation but not a "limit on the number of connections"