Skip to content

AOT compiled app doesn't work when served from cdn #3254

Closed
@elvirdolic

Description

@elvirdolic

We have an aot compiled app which works when we access it directly and not from cdn.

When we use akamai as cdn it't doesn't bootstrap. It loads the main bundle but the bootstrap process is never triggered and the lazy loaded route is also not loaded. All our static files were served from akamai. The main.hash.js file is downloaded as expected.

Serving the same app with JIT compiler over cdn works. It only doesn't work when the app is AOT compiled.

Any possible reasons for that? No errors are raised in the console and the network traffic is also without issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions