Page 1 of 1

Regarding dynamic objects and object handling

Posted: 11 Mar 2016 08:40
by netcurity
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

Re: Regarding dynamic objects and object handling

Posted: 11 Mar 2016 09:21
by david
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,

Re: Regarding dynamic objects and object handling

Posted: 11 Mar 2016 09:42
by netcurity
Hi David,
I got it to keep the standard and process the headers.

Thank you for your reply and enjoy the weekend. :D
Jason

Re: Regarding dynamic objects and object handling

Posted: 11 Mar 2016 09:45
by david
Thank you. U2.
BR