Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8085939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:17:35+00:00 2026-06-05T18:17:35+00:00

Since I have no errors I don’t know if this is the right place

  • 0

Since I have no errors I don’t know if this is the right place to ask this question, if it’s not, please point me to the right forum. Any way…

I am working on a social network project and now it runs really slow, some pages take like 5 to 15 seconds to load. There is a “cache” structure but whoever did this, didn’t use to already build in Cache from the c# .net, instead, they created a static List<object> as the cache of the system. Even tought is not right, i can deal with that…

The problem is, on every page request, I have to load the user data from this cache wich is quite big, and the user structure is quite big as well so I was wondering, stead of loading the user data from cache everytime a page is requested I will create Some sessions with the most used data that every page requires, like, photo, name, nickname, id, and than when I need to load anyother type of data from user that is not common, I request it from the cache…

I don’t know if this is the right aproach not if this is the right place to ask it, but I really need to solve this problem pretty bad. so I would like some advices from the experts out here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:17:37+00:00Added an answer on June 5, 2026 at 6:17 pm

    Part of the performance problem may be needing to scan the cache for items. A Dictionary might be better, since you could retrieve items by key. This is a closer implementation to the native cache structure.

    Sessions are bad for scalability of a website. If you plan on this being as big as facebook or something, using sessions for caching will kill you

    See this other related question :

    What is a good way to store large temporary "session" data in a web application

    and another decent question

    Why is it a bad idea to use Session to store state in high traffic websites?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A beginner question: I don't know how best to structure this bit of code,
I am not sure my title is correct or not since I have no
This was working correctly in Visual Studio 2008, but since I have switch to
I'm writing my thesis/dissertation and since its an on-going work I don't always have
I've recently started logging my errors through codeIgniter. Since doing so, I have noticed
- Since discovering more about my problem I have modified my question A single
And this is pretty annoying since we have it set up to continuously check
Since Python is a dynamic, interpreted language you don't have to compile your code
Don't know the term for the red validation border, does it have one? I
Since i have a complex hierarchy of views i handle the rotation manually with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.