Welcome! Log In Create A New Profile

Advanced

How to use Squid as caching and Nginx for ngx_pagespeed?

Posted by amarthakurdbp 
How to use Squid as caching and Nginx for ngx_pagespeed?
January 12, 2017 01:25AM
I need to use Squid as caching server to cache all web page resources. And need to use Nginx behind that so that I can apply ngx_pagespeed module and compress web page data. So that web page size will be minimal.

Squid is a caching reverse proxy enabled tool. Individually(without using Nginx or Apache) squid is implemented and caching takes place normally and everything works fine.

Pagespeed is a module which enables different options for compression of a response to client. Problem arises when we go ahead adding mod_pagespeed module to squid which is not implemented as off now.(No real implemented example and needs more RND to create something on our own) Pagespeed can only(as far as we have researched) be integrated with Apache or Nginx.

We are facing issues making squid run with nginx. We have implemented a tutorial for checking if the setup works, we used the steps in the below tutorial https://aacable.wordpress.com/2012/08/13/youtube-caching-with-squid-nginx/

When accessing youtube via proxy(port - 8080) We are receiving access denied. Any suggestions in this direction would be helpful.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready