Re: Cannot totally switch off caching

2013-07-01 Thread imanenkov
Maxim Dounin Wrote: > On the other hand, 100-200 msec is way too long for nginx to > return a cached response. > > If you assume the response is cached by nginx somehow, simpliest > test is to switch off php-fpm and check if you are still able to > request a resource. Thanks for idea! I change

beautiful lights for sale

2013-07-01 Thread ferguson
One of the more uncommon Verner Panton reissues of delayed is the VerPan Nineteen seventies Spion walls or Ceiling Light, although it's perfect for anyone looking for something unique and area age for a space. Not that it comes cheap - this is showpiece lighting with a cost to coordinate. It's also

buy cheap lights at Lightsuperdeal.com

2013-07-01 Thread ferguson
[url=http://www.lightsuperdeal.com/led-lights]LED Lights[/url] which are an inseparable part of the globe's big places are now placed around Sukhbaatar Rectangle. The formal wedding to convert on the light was organised at the square at 10 pm on July 22. The work was requested by Sentino, a value i

Re: Cannot totally switch off caching

2013-07-01 Thread imanenkov
Ben Johnson Wrote: > Are you using some type of opcode-caching software, e.g. APC, > memcached, > etc.? If you're convinced that PHP is doing the caching, I would > disable > any opcode-caching software first. > > -Ben Yes, initially I use APC, but I switch it off, and problem still exist. Posted

buy beautiful oil paintings at low price

2013-07-01 Thread ferguson
Two works by British professional Francis Breads, such as the first painting he ever promoted, have fetched more than £21m at a London, uk, uk community public auction, according to the BBC. Go III, which promoted for £150 at Bacon’s first individual show 54 years ago, was bought for £10.4m by an A

What is the purpose of this "location {}" block?

2013-07-01 Thread Ben Johnson
I'm using ISPConfig3 and the default nginx vhost configuration template includes the following: location ~ \.php$ { try_files /dcc5f1e779623ed233ada555c6142e42.htm @php; } location @php { try_files $uri =404; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/var/lib/php5-fpm/w

Re: adding query string to redirect ?

2013-07-01 Thread Francis Daly
On Mon, Jul 01, 2013 at 05:18:47PM -0400, Jonathan Vanasco wrote: Hi there, > the problem is that we can't figure out how to make this work correctly when > the url already contains query strings. If the format difference between $request_uri and $uri is not important to you in this case, and i

Re: adding query string to redirect ?

2013-07-01 Thread António P . P . Almeida
At the location/server level try: if ($is_args) { return 301 https://$host$request_uri&source=server1; } ## Goes here if the above is not chosen. return 301 https://$host$uri?source=server1 ; appa On Mon, Jul 1, 2013 at 11:18 PM, Jonathan Vanasco wrote: > > we'd like to add onto t

adding query string to redirect ?

2013-07-01 Thread Jonathan Vanasco
we'd like to add onto the query string an identifier of the nginx server something like: return 301 https://$host$request_uri?source=server1 ; the problem is that we can't figure out how to make this work correctly when the url already contains query strings. Example: return

Re: GPG error on Nginx repository - NO_PUBKEY

2013-07-01 Thread Maxim Dounin
Hello! On Mon, Jul 01, 2013 at 07:29:20PM +0400, Sergey Budnevitch wrote: > > On 28 Jun2013, at 21:09 , B.R. wrote: > > > > We've added short explanation with links to gpg docs about how > > and why pgp signatures should be checked: > > > > http://nginx.org/en/linux_packages.html#signatures

Re: How does FastCGI work under the covers?

2013-07-01 Thread Maxim Dounin
Hello! On Mon, Jul 01, 2013 at 11:57:21AM -0400, kgk wrote: > Hello Maxim, > > Thank you so much for answering my previous questions! Now I have a few > more: > > 1. Will Nginx provide a FastCGI request only when it is 100% complete, > i.e., the browser has provided every necessary byte? Yes

Re: Cannot totally switch off caching

2013-07-01 Thread Maxim Dounin
Hello! On Mon, Jul 01, 2013 at 08:32:32AM -0400, imanenkov wrote: > Maxim Dounin Wrote: > --- > > > > By default nginx doesn't cache anything. You may want to look > > into your php code to find out what is cached / causes reduced > > respon

Re: How does FastCGI work under the covers?

2013-07-01 Thread kgk
Hello Maxim, Thank you so much for answering my previous questions! Now I have a few more: 1. Will Nginx provide a FastCGI request only when it is 100% complete, i.e., the browser has provided every necessary byte? 2. Will Nginx always accept 100% of a FastCGI response and hold it inside inte

Re: GPG error on Nginx repository - NO_PUBKEY

2013-07-01 Thread Sergey Budnevitch
On 28 Jun2013, at 21:09 , B.R. wrote: > > We've added short explanation with links to gpg docs about how > and why pgp signatures should be checked: > > http://nginx.org/en/linux_packages.html#signatures > > ​The link to Dewinter's website is broken. > Maybe would you like to replace it with

Re: Cannot totally switch off caching

2013-07-01 Thread Ben Johnson
On 7/1/2013 4:33 AM, imanenkov wrote: > For some testing I need to switch off a nginx caching (nginx + php-fpm). Now > I have a trouble - when I request a server (PHP app) first time, response > generated about 10 sec (its ok), but when a request a server another time > (during approx 1-2 mins fr

Re: Cannot totally switch off caching

2013-07-01 Thread Alexander Kunz
Hi, and don't forget database's cache. You write about PHP, often there is mysql also involved, which have the ability to cache. Regards Alexander Am 01.07.2013 10:33, schrieb imanenkov: Greeting! For some testing I need to switch off a nginx caching (nginx + php-fpm). Now I have a troubl

Re: Cannot totally switch off caching

2013-07-01 Thread imanenkov
Maxim Dounin Wrote: --- > > By default nginx doesn't cache anything. You may want to look > into your php code to find out what is cached / causes reduced > response time in subsequent requests. > I think about it, but this is heavy app, and

Re: Cannot totally switch off caching

2013-07-01 Thread Igor Sverkos
Hi, and don't forget system's page cache. From my experience: The files needed to process the first request aren't yet read, so Linux has to read them from disk (slow). Then, for the second and further requests, the files are in the page cache (aka system buffer), so that Linux don't have to rea

Re: Cannot totally switch off caching

2013-07-01 Thread Maxim Dounin
Hello! On Mon, Jul 01, 2013 at 04:33:55AM -0400, imanenkov wrote: > Greeting! > > For some testing I need to switch off a nginx caching (nginx + php-fpm). Now > I have a trouble - when I request a server (PHP app) first time, response > generated about 10 sec (its ok), but when a request a serve

Re: Rewriting pages to re-rendered snapshots

2013-07-01 Thread Jonathan Matthews
Duplicate your entire "location / {}" as "location = / {}" (which matches *only* "/"), and when you detect google, serve /snapshots/whatever/index.html. Jonathan ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Rewriting pages to re-rendered snapshots

2013-07-01 Thread rootberry
Not sure what you mean Jonathan, I can already detect the Google bot by using ?_escaped_fragment= which is also Google's preferred way over user agent sniffing. I just need to adapt the rewrite rule to serve index.html to requests for /. Thanks for the reply, though! Posted at Nginx Forum: http:

Re: Rewriting pages to re-rendered snapshots

2013-07-01 Thread Jonathan Matthews
I'm sure others will give you better methods to sort this but, as a temporary fix, how about a separate stanza like this: location = / { #special index.html UA-sniffing + rewrite logic } Cheers, Jonathan ___ nginx mailing list nginx@nginx.org http://

Rewriting pages to re-rendered snapshots

2013-07-01 Thread rootberry
I have a very Javascript heavy website which is being served by nginx. It all works great, except Google is having trouble indexing me. I've made pre-rendered snapshots of all my pages using Phantomjs and these are stored in /snapshots (relative to my website's root). I've been using this rewrite

Cannot totally switch off caching

2013-07-01 Thread imanenkov
Greeting! For some testing I need to switch off a nginx caching (nginx + php-fpm). Now I have a trouble - when I request a server (PHP app) first time, response generated about 10 sec (its ok), but when a request a server another time (during approx 1-2 mins from first request) response is returne