I am trying to use push cache option of Apache Traffic Server(ATS), to push some content into my cache. I read the documentation, and tried to follow it but I have following questions/problems using this option:
1 - In the documentation it mentiones in order to enable PUSH request, modify proxy.config.http.quick_filter.mask
in records.config
. Yet I could not find such a super mask to modify in that file. Running grep -r proxy.config.http.quick_filter.mask .
in ATS configuration folder shows me that this super mask exists in ip_allow.config
file. Are they the same? Should I modify it there or should I add it to records.config
? Unfortunately I cannot check this due to my issue No.2.
2 - I am not sure how to send this HTTP PUSH request and to whom (on which port - the same port ATS is running on?). There is perl-script which suppose to automate the process, although I was not able to run the script yet(don't know any perl but working on it - getting Can't locate File/MimeInfo/Magic.pm in @INC
). I wanted to print out the port from the script to see how to push into the cache.
Any hints/tips would be appreciated.