Closed mawi42 closed 1 month ago
Hello,
Your proposal cannot be implemented like you suggest, otherwise this is a behaviour change for any person who are using the callback mechanism and still have content that can be cached.
Could you please elaborate a big more on your use can with a code sample instead of suggesting a fix which breaks existing behaviour ?
AsyncStaticWebHandler
is a subclass specifically designed to serve static content that can be cached.
If this is not what you want, then, don't use it...
Thanks :-)
When template processor is used do not return "not modifed 304" but refresh the webpage. Template processors might be used for non static pages since some variables which will be replaced might change.
Proposed workaround instead of introducing new method serveDynamic, use info if templat processor is set (_callback).
Webhandlers.cpp line 218: