Skip to content

Add Cache-Control header to JS and CSS requests to avoid aggresive caching#75

Open
alexreinert wants to merge 1 commit intoeq-3:masterfrom
alexreinert:avoid_aggressive_js_caching
Open

Add Cache-Control header to JS and CSS requests to avoid aggresive caching#75
alexreinert wants to merge 1 commit intoeq-3:masterfrom
alexreinert:avoid_aggressive_js_caching

Conversation

@alexreinert
Copy link

Only first step, real solution would be to include unique url parameter on each request (e.g. firmware version)

@jens-maus
Copy link

Thanks for this PR. I will try to integrate this in RaspberryMatic which in the end will then (if it proofs useful) will end up in occu again ;)

See here for more discussion on that matter:
OpenCCU/OpenCCU#245

@jens-maus
Copy link

Would be good to actually identify all uses in webui files where a unique url parameter would be required or helpful.

@alexreinert
Copy link
Author

@eq-3 Any chances to get this PR merged?

@jens-maus
Copy link

It is already merged into the latest 2.33.x development snapshot. See:
https://github.com/eq-3/occu/blob/master/arm-gnueabihf/packages/lighttpd/etc/lighttpd/conf.d/headers.conf

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

Successfully merging this pull request may close these issues.

2 participants