You are not logged in or registered. Please login or register to use the full functionality of this board...


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nginx Admin Cache Version optimization Tips
03-09-2011, 12:37 PM (This post was last modified: 03-09-2011 12:40 PM by admin.)
Post: #1
Nginx Admin Cache Version optimization Tips
By default Nginx Admin cache version only cache sites without no-cache header or without cookie_nocache.
You can verify your headers via http://www.whatsmyip.org/http_headers/
This is more useful for frequent update forums or blogs etc.
But you can optimize setting as per your requirements.
Just edit /etc/nginx/cache.inc

E.g. if you want to cache all request besides with or without no-cache header you can change your cache.inc as per bellow,

Code:
proxy_cache       global;
proxy_cache_key   $host$uri$is_args$args;
proxy_cache_min_uses 3;
proxy_cache_valid any 1m;
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
proxy_temp_file_write_size 64k;
proxy_max_temp_file_size   100m;
proxy_cache_bypass $cookie_nocache  $arg_nocache$arg_comment;
#proxy_no_cache $http_pragma     $http_authorization;
proxy_cache_bypass $http_authorization;

Administrator
NginxCP.com - cPanel Nginx automated installer Plugin
Visit this user's website Find all posts by this user
Quote this message in a reply
03-09-2011, 08:54 PM
Post: #2
RE: Nginx Admin Cache Version optimization Tips
Thank's for the tips John!
Find all posts by this user
Quote this message in a reply
05-05-2011, 04:28 PM
Post: #3
RE: Nginx Admin Cache Version optimization Tips
hi jhon but on my server nothing cache.inc
Find all posts by this user
Quote this message in a reply
05-06-2011, 11:55 AM
Post: #4
RE: Nginx Admin Cache Version optimization Tips
This applied to Nginx Admin cache version not normal version.

Nginx Admin Support
Find all posts by this user
Quote this message in a reply
05-06-2011, 05:59 PM
Post: #5
RE: Nginx Admin Cache Version optimization Tips
how to get it sir ?
Find all posts by this user
Quote this message in a reply
05-30-2011, 04:09 AM
Post: #6
RE: Nginx Admin Cache Version optimization Tips
Nginx admin cache version??
what a charm!
Where i can get this stuff?
Find all posts by this user
Quote this message in a reply
03-20-2012, 02:53 PM
Post: #7
RE: Nginx Admin Cache Version optimization Tips
Those are really helpful tips and I really appreciate to you about those. I believe that these tips will be helpful for me and for all other who are going to impose these...
Find all posts by this user
Quote this message in a reply
04-05-2012, 06:14 PM
Post: #8
RE: Nginx Admin Cache Version optimization Tips
Hi
I have installed nginx admin as reverse proxy of apache. Nginx Admin is working nicely, but client has received many complaints from customers stating that some pages (which change frequently throughout the day) show stale content until client clears their browser cache or does a force reload of page.

Will nginxadmin cache version can be solution for this? I found a beta version of it and it is too old, is there any new stable version available for nginxadmin cache version? please help me.

Thanks in advance.
Find all posts by this user
Quote this message in a reply
07-22-2012, 06:11 AM
Post: #9
RE: Nginx Admin Cache Version optimization Tips
by default,nginxcp does not have the file ? because i check the folder,i can not find the file cache.inc,or should i enable the cache form certain option ? thank you
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)