Skip to content

Don't use CachingAssetAccessor on the web #660

Description

@kring

CachingAssetAccessor is used to cache HTTP requests, so we don't waste time requesting the same resource multiple times. When running in a web browser, however, caching is provided automatically by the web browser itself. The extra manual cache is unnecessary, and it's not entirely clear where the request cache SQLite database is even being stored. We should disable it, which should be a simple matter of excluding it from UnityExternals.cpp under __EMSCRIPTEN__.

This may be the cause of some memory growth seen in this thread.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceImprovements to performance, including reductions in memory usage

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions