Dear Ivy Team

Usually the static web content such as css, js, images etc are offloaded and put in a web proxy in order to reduce the data load for the app server. Of course these files must be cached on the browser side. But still they must expire on a daily basis (since hotfixes can come in on a daily basis).

Any ideas ?

Regards John

asked 28.01 at 04:16

John%20Moser's gravatar image

John Moser
6171826
accept rate: 0%

Is the question: How to setup a reverse proxy which cache static ressources?

(28.01 at 11:59) Alex Suter ♦♦ Alex%20Suter's gravatar image

Ok ... then there is no caching support in Ivy and a proxy has to be setup.

(29.01 at 04:08) John Moser John%20Moser's gravatar image

I did not exactly understand your initial question. So your initial question was: Is there a possibility to cache static resources in the Axon.ivy Engine?

What exactly should we support in your opinion? I think its common to cache static resources on a reverse proxy to reduce the load on the application server (ivy). If the request still goes to the application server you can not reduce the load.

Or you maybe just want to set HTTP cache headers on static resources?

(29.01 at 06:53) Alex Suter ♦♦ Alex%20Suter's gravatar image

Just done some performance testing. As an example it turned out that :

291 calls were made against Ivy :

96 xhtml

15 ivp

180 static content such as js, css, png, svg etc

My suspicion (basically confirmed by visualvm) is that the performance of Ivy / Tomcat is severely hit by serving that static stuff.

cache static resources on a reverse proxy to reduce the load on the application server

I would really appreciate if this is mentioned in your documentation, it seems this is not clear to everyone.

(31.01 at 12:42) John Moser John%20Moser's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×136

Asked: 28.01 at 04:16

Seen: 66 times

Last updated: 31.01 at 12:43