added config option: add_header_cache_no_store_in_htmx_request
send "Cache-Control: no-store, max-age=0" http header if a request is made by htmx library (ajax) if a webbrowser get a page from the cache then it will render just the last request without the whole html page (css, js, etc) https://github.com/bigskysoftware/htmx/issues/497
This commit is contained in:
@@ -774,6 +774,13 @@ public:
|
||||
size_t antispam_list_max_size;
|
||||
|
||||
|
||||
// send "Cache-Control: no-store, max-age=0" http header if a request is made by htmx library (ajax)
|
||||
// if a webbrowser get a page from the cache then it will render just the last request without the whole html page (css, js, etc)
|
||||
// https://github.com/bigskysoftware/htmx/issues/497
|
||||
bool add_header_cache_no_store_in_htmx_request;
|
||||
|
||||
|
||||
|
||||
Config();
|
||||
bool ReadConfig(bool errors_to_stdout_, bool stdout_is_closed = true);
|
||||
|
||||
|
Reference in New Issue
Block a user