Better Cache-Control policy for (some) static resources #103

Closed
opened 2022-05-29 18:49:34 +02:00 by solracsf · 2 comments

Hi,

is there a reason why some static resources are not cached?

Like /apps/side_menu/js/script or /apps/side_menu/js/config or /apps/side_menu/css/stylesheet

(also, apply an extension - .css, .js - on these can also help leveraging proxy caches)

They have a no-cache, no-store, must-revalidate policy.

There are maybe others where a better Cache-Control policy could benefit page loading time.

Thanks. 👍

Hi, is there a reason why some static resources are not cached? Like `/apps/side_menu/js/script` or `/apps/side_menu/js/config` or `/apps/side_menu/css/stylesheet` *(also, apply an extension - .css, .js - on these can also help leveraging proxy caches)* They have a `no-cache, no-store, must-revalidate` policy. There are maybe others where a better `Cache-Control` policy could benefit page loading time. Thanks. 👍
Owner

Hello!

These "files" are dynamically generated and may change depending of the current user or if settings are updated.

Hello! These "files" are dynamically generated and may change depending of the current user or if settings are updated.
Author

I understand. If this can't be "fixed" feel free to close.

I understand. If this can't be "fixed" feel free to close.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: deblan/side_menu#103
No description provided.