Hi,
Is CG able to store dynamic objects for caching? If it is possible, how could I configure for the dynamic caching.
Also, can I change any request and response headers for operating I need? For example, deleting via header for response, increasing max-age and adding x-forwarded-for etc.
Thank you
Jason C. Lee
Regarding dynamic objects and object handling
Re: Regarding dynamic objects and object handling
Hi
CG aims to respect the HTTP standards and caches only objects that be cached. So dynamic objects are not cached and the "Cache-Control: max-age" header can't be modified (as modifying this header would not be consistent with the HTTP standard).
Regarding the Via and X-Forwarded-For headers, CG automatically manages them according to the configuration you choose (you can't modify them independently). Generally the Via header is always removed. In forwarding mode (mode web on), the X-Forwarded-For is removed for outgoing traffic to the Internet. In reverse mode (mode rweb on), it is added to outgoing traffic towards backend Web servers.
Best Regards,
CG aims to respect the HTTP standards and caches only objects that be cached. So dynamic objects are not cached and the "Cache-Control: max-age" header can't be modified (as modifying this header would not be consistent with the HTTP standard).
Regarding the Via and X-Forwarded-For headers, CG automatically manages them according to the configuration you choose (you can't modify them independently). Generally the Via header is always removed. In forwarding mode (mode web on), the X-Forwarded-For is removed for outgoing traffic to the Internet. In reverse mode (mode rweb on), it is added to outgoing traffic towards backend Web servers.
Best Regards,
Re: Regarding dynamic objects and object handling
Hi David,
I got it to keep the standard and process the headers.
Thank you for your reply and enjoy the weekend.
Jason
I got it to keep the standard and process the headers.
Thank you for your reply and enjoy the weekend.
Jason
Re: Regarding dynamic objects and object handling
Thank you. U2.
BR
BR