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

No Caching? #7

Open
FIL1994 opened this issue Sep 30, 2017 · 2 comments
Open

No Caching? #7

FIL1994 opened this issue Sep 30, 2017 · 2 comments

Comments

@FIL1994
Copy link

FIL1994 commented Sep 30, 2017

Is it possible to use this with the cache middleware or any way to enable caching?

@ChadTaljaardt
Copy link

Im also interested in this.

@GwynethLlewelyn
Copy link

@ghezzofr seemed to have added a PR to add the extra header files for proper caching in #15. However, AFAICS, that PR was 'abandoned' and the current codebase (as of mid-2023 at least) does not reflect any of the ideas proposed by @ghezzofr.

My question is thus: has this been implemented in a different way? Or maybe I'm completely outdated and these extra headers appear automagically due to changes made somewhere on the Gin engine, and which I totally missed?

In any case, it's always nice to add a note explaining why a PR was abandoned :) so that interested people in the future don't waste time implementing it :)

(Note: personally, I place all my apps behind a nginx reverse proxy, which handles all static caching, and sets the required header files anyway; however, there certainly are lots of use cases where having a reverse proxy is simply not feasible)

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 a pull request may close this issue.

3 participants