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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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:
jens-maus/RaspberryMatic#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