<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>load everything.jsp  from NgInx to Increase performance</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120537106" />
  <subtitle>load everything.jsp  from NgInx to Increase performance</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120537106</id>
  <updated>2026-04-05T10:53:20Z</updated>
  <dc:date>2026-04-05T10:53:20Z</dc:date>
  <entry>
    <title>RE: RE:  load everything.jsp  from NgInx to Increase performance</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537483" />
    <author>
      <name>pradip choudhari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537483</id>
    <updated>2021-01-06T04:29:41Z</updated>
    <published>2021-01-06T04:29:41Z</published>
    <summary type="html">&lt;p&gt;Hi Christoph , &lt;br /&gt;
  &lt;br /&gt;I tried to place everything.jsp inside ngInx data folder and
  Inside config file , &lt;br /&gt;Inside location property , i used root
  directive for accessing from the location &lt;br /&gt;something like below- &lt;br /&gt;
  &lt;br /&gt;
  &lt;strong&gt;location = /o/frontend-js-web/ {&lt;br /&gt;               root
    /data/everything.jsp &lt;br /&gt;            }&lt;/strong&gt;
  &lt;br /&gt;
  &lt;br /&gt;I am sharing my current nginx config file - &lt;/p&gt;
&lt;p&gt;
  &lt;br /&gt;
  &lt;br /&gt; &lt;/p&gt;
&lt;pre&gt;&lt;code class="language-java"&gt;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       mime.types;
    default_type  application/octet-stream;
	server_names_hash_bucket_size  64;


    server {
		listen 80;
		
		server_name local.education.com;
		return 301 https://local.education.com.com$request_uri;
	}
	   
	server {
			  listen                443 ssl;
			server_tokens        	off;
			server_name             local.education.com;
			#ssl on;
			ssl_certificate           G:/Liferay7/_.education.com/_.education.com.cer;
			ssl_certificate_key       G:/Liferay7/_.education.com/_.education.com.key;
			#ssl_dhparam /etc/nginx/dhparam.pem;
			add_header Strict-Transport-Security &amp;quot;max-age=63072000; includeSubDomains; preload&amp;quot;;
			add_header X-Cache-Status $upstream_cache_status;
			add_header X-Content-Type-Options nosniff;
			add_header Content-Security-Policy &amp;quot;frame-ancestors 'self' *.educationyug.com *.authorize.net;&amp;quot;;
			location / {
					client_max_body_size 1024M;
					proxy_pass http://localhost:8080;
					proxy_set_header X-Forwarded-Server $host;
					proxy_set_header Host $host;
					proxy_set_header X-Real-IP $remote_addr;
					proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
					proxy_set_header X-Forwarded-Proto $scheme;
					proxy_set_header Upgrade $http_upgrade;
					proxy_set_header Connection &amp;quot;upgrade&amp;quot;;
					proxy_read_timeout  1200s;
					proxy_hide_header X-Frame-Options;
				}
				
			location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico)$ {
				expires 5d;
				add_header Cache-Control &amp;quot;public, no-transform&amp;quot;;
				proxy_pass http://localhost:8080;
			}
		
		  
		    
		server_name local.education.com;
		
	}
	 


 
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
  &lt;br /&gt;Thanks &amp;amp; Regrads, &lt;br /&gt;Pradip&lt;br /&gt; &lt;/p&gt;</summary>
    <dc:creator>pradip choudhari</dc:creator>
    <dc:date>2021-01-06T04:29:41Z</dc:date>
  </entry>
  <entry>
    <title>RE:  load everything.jsp  from NgInx to Increase performance</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537301" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537301</id>
    <updated>2021-01-05T18:28:19Z</updated>
    <published>2021-01-05T18:28:19Z</published>
    <summary type="html">&lt;p&gt;I didn't try it myself, but in theory it should be possible to cache
  everything.jsp. But I am not sure if it is worth it. I tried to cache
  lots of Liferay stuff before, but in general, the effort was high and
  the results were meh, when I measured it with a stresstest.&lt;/p&gt;
&lt;p&gt;Putting the really, really important security fix aside that Olaf has
  mentioned, you should indeed consider upgrading to at least 7.0 GA6
  (and apply the security fix!)&lt;/p&gt;
&lt;p&gt;Early 7.0 performance was quite bad and it improved with each patch.
  7.1 was okish. 7.0 brought a new architecture (which was good in a
  longterm sense, but bad for 7.0 performance). Later versions improved it.&lt;/p&gt;
&lt;p&gt;7.3 has continued that trend, it is quite a bit faster than 7.0 (at
  least in my experience).&lt;/p&gt;
&lt;p&gt;But can you show us your nginx config?&lt;/p&gt;
&lt;p&gt;Did you create an extra location for everything.jsp? Have you set a
  cache key that honors the parameters? Something like e.g.:&lt;/p&gt;
&lt;p&gt;proxy_cache_key $scheme$proxy_host$uri$is_args$args;&lt;/p&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2021-01-05T18:28:19Z</dc:date>
  </entry>
  <entry>
    <title>RE:  load everything.jsp  from NgInx to Increase performance</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537229" />
    <author>
      <name>pradip choudhari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537229</id>
    <updated>2021-01-05T14:37:50Z</updated>
    <published>2021-01-05T14:37:50Z</published>
    <summary type="html">&lt;p&gt;Hi Olaf , &lt;br /&gt;
  &lt;br /&gt;We are using Liferay 7 GA2 , &lt;br /&gt;and currently , we not
  any planning to upgrade to Liferay 7.1 or any higher version
  .&lt;br /&gt;Can you suggest me , with current version , how can we increase
  the performance of everything.jsp ? &lt;br /&gt;
  &lt;br /&gt;Thanks &amp;amp; Regards , &lt;br /&gt;Pradip &lt;br /&gt;
  &lt;br /&gt; &lt;/p&gt;</summary>
    <dc:creator>pradip choudhari</dc:creator>
    <dc:date>2021-01-05T14:37:50Z</dc:date>
  </entry>
  <entry>
    <title>RE:  load everything.jsp  from NgInx to Increase performance</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120536375" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120536375</id>
    <updated>2021-01-05T14:26:30Z</updated>
    <published>2021-01-05T14:26:30Z</published>
    <summary type="html">&lt;p&gt;Low hanging fruit: As there are a couple of scripts loading through
  everything.jsp: Make sure you're not accidentally running in
  development mode (check your portal-ext.properties).&lt;/p&gt;
&lt;p&gt;Also, to avoid stepping into issues that have long been fixed,
  consider upgrading at least to the latest GA in your major version, &lt;a
    href="https://liferay.dev/blogs/-/blogs/security-patches-for-liferay-portal-6-2-7-0-and-7-1"&gt;with
    this patch&lt;/a&gt;.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2021-01-05T14:26:30Z</dc:date>
  </entry>
  <entry>
    <title>load everything.jsp  from NgInx to Increase performance</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537105" />
    <author>
      <name>pradip choudhari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120537105</id>
    <updated>2021-01-05T11:11:26Z</updated>
    <published>2021-01-05T10:39:55Z</published>
    <summary type="html">&lt;p&gt;Hi Team , &lt;br /&gt;
  &lt;br /&gt;We are trying to increase performance of the site , In that work
  , we seen 1 problem with everything.jsp . &lt;br /&gt;everything.jsp taking
  3/4 of the time while loading . so we are trying to load this jsps
  code from NgInx server , so request will reduce to main server(tomcat)
  and content always load from the proxy server ( ngInx) . &lt;br /&gt;But ,
  we tried and we are getting the response always from tomcat server
  only . &lt;br /&gt;How can we load everything.jsp from NgInx server ? so
  requests will reduces and performance will increase of the site . &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;adding below attachment to show the everything.jsps loading time : &lt;br /&gt;
  &lt;br /&gt;
  &lt;img alt="" src="/documents/14/0/every1+%281%29.png/93be99e1-8243-3276-5cb1-d0438c4245c3?t=1609843104147&amp;amp;imagePreview=1" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>pradip choudhari</dc:creator>
    <dc:date>2021-01-05T10:39:55Z</dc:date>
  </entry>
</feed>
