Hi Mayo!

Sure, I looked to pm2 first thing
This is what I have
[image: 2023-11-15_171420.png]
I guess it's OK, cluster mode.
I added "exec_mode": "cluster" in dspace-ui-json
I also use "pm2 start /home/dspace/dspace-angular-dspace-7.6/dspace-ui.json 
-i max"
Per your advice I am going to change it to a number less than cores #. As 
soon as know how much cores I can get)

Based on my understanding, once the page loads, it runs in your browser. 
Only when you refresh,
open it on new window (or for some other reason download the whole page 
from server) is it slow.
When it is downloaded and runs in browser, it only executes some calls to 
backend, which is fast.
This would agree with your observations.


Ah. Thanks! That explains a lot.
But then I can not understand the main page loading so long *when the anon 
cache is enabled*.
The main page should be cached 100%.
But it always loads as if there's no cache... It actually looks like it 
loads as long as for a logged user.
I have 
 anonymousCache:
      max: 50
      timeToLive: 7200000 # 3 hours
      allowStale: true

That should work, right?

Best regards,
Andrew

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/c5c92992-7a5f-4efa-abb6-7d6a55e43341n%40googlegroups.com.

Reply via email to