Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TerriMap StyleSheet loading is slow #7092

Open
samareshdasglobal opened this issue Mar 27, 2024 · 1 comment
Open

TerriMap StyleSheet loading is slow #7092

samareshdasglobal opened this issue Mar 27, 2024 · 1 comment

Comments

@samareshdasglobal
Copy link

Hello,

I have deployed the TerriaMap on AWS S3. I've observed that the loading icon persists for an extended period. Upon inspecting the network tab, I've noticed that the stylesheet request is experiencing prolonged loading times and isn't being cached in the browser. I'm loading the TerriaMap within an iframe in my application. Is there a method to enforce caching and load the stylesheet from memory to improve performance?

image

@samareshdasglobal
Copy link
Author

I have changed sortable.css to sortable.scss add add sortable.scss.d.ts file to export the styles class, also changed import Styles from "!style-loader!css-loader?modules&sourceMap!sass-loader?sourceMap!./cesium-timeline.scss" to import Styles from "./cesium-timeline.scss" in CesiumTimeline.jsx after that notice the blob request has gone. New problem is index.TerriaMap.js is not caching, each time it send request to server. How can i force to cache it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant