Jump to content

[QUESTION] Using Cache


_Evo_

Recommended Posts

Posted (edited)

Disable client cache for many client lua files can be reduce fps on server? for low end pcs at least? 

Edited by _Evo_
  • Moderators
Posted (edited)

No, they don't.
Performance wise it's the same as caching them.
non-cached scripts actually load faster, because they are directly downloaded into the RAM, while cached files are first written, then loaded.

Edited by Pirulax
Posted

Indeed they might "load" faster, but they need to be downloaded every time you reconnect to the server, meaning, for larger files there is a download delay that could mean it takes longer to load than without it. Reading from a cached file is definitely faster than downloading the file every time.

Previously known as MrTasty.

Posted
11 hours ago, Pirulax said:

No, they don't.
Performance wise it's the same as caching them.
non-cached scripts actually load faster, because they are directly downloaded into the RAM, while cached files are first written, then loaded.

what about low ram computers?

 

3 hours ago, MrTasty said:

Indeed they might "load" faster, but they need to be downloaded every time you reconnect to the server, meaning, for larger files there is a download delay that could mean it takes longer to load than without it. Reading from a cached file is definitely faster than downloading the file every time.

yeah, thank you.. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...