Register
Sign In
Skip over navigation
Home
Add New Question
Jobs
Products
Cache vs static
Question posted
in
Computer Software
on
05 2011
Rate question difficulty level
0
0 Votes
what is the different between cache and static object ?
Add an answer
Share
|
21 Answers
Eric
By using cache framework you can easily add logic which could run on when cache is expired, how it is updated, how often, etc..
If you load data in static, it will be there forever and eventually corrupt. At some point you have to update it to reflect the changes in the database. At each database update, you could add SQLCachedependency.
The Application and Cache collections do not serialize the objects you pass into them, they store the actual reference. Retrieving an object from Cache will not be an expensive operation, no matter how large the object is. Always stick with the Cache objects unless you have a very good reason not to, its just good practice.
05/23/2011
Brandice
Well done artlice that. I'll make sure to use it wisely.
01/11/2012
nmnnyhbcj
woM3bR
fzklthxplgne
01/12/2012
Lordlako
life insurance quotes
712
life insurance
lejy
auto insurance rates
>:-DD
02/08/2012
Vivek Kumar Singh
A cache doesn't have to store data in memory, and there's a world of difference between a data-storage concept (cache) and an implementation of an OOP principle in a specific language and framework (static variable).
I could implement a cache in at least 20-25 different ways, ranging from in-memory, to a flat file or a database, but I can only implement a static variable in one way.
Cache involves serialization (and de-serialization) whereas static are pre-declared by data type they're going to hold (unless they're 'object').Cache offers features like invalidation callbacks, sliding or absolute expiration etc.
02/27/2012
johnb12
There is so many different things that go with this. You really have to do your research on this. It will pay off in the long run for you.
actos bladder
04/10/2012
Invent
This is a great blog posting and very useful. I really appreciate the research you put into it.
Franchise in india
Franchise research reports
Brand management consultants
Franchising management
04/13/2012
Nike Requin
Nike Tn Pas Cher
TN Requin
TN Requin Pas Cher
Nike Requin
Nike TN Requin
TN Requin
TN Pas Cher
Nike TN
Nike air max
TN REQUIN
Puma Pas Cher
Nike tn 2012
tn foot locker
TN Pas Cher
04/13/2012
Henry
After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
palm hills gurgaon
emaar mgf palm gardens
palm gardens gurgaon
And
buy property in gurgaon
*
Residential plots in dharuhera
04/17/2012
tn pas cher
Nike TN Pas Cher
TN Pas Cher
Nike Requin
Nike TN
Nike Air Jordans
Cheap Jordan Shoes
AIR Jordans
Nike Jordan Shoes
Nike Air Jordans
Nike Tn Pas Cher
Sac a main
Sac a main femme
sac a dos
valise
bagage à main et maroquinerie en ligne - Gsell
TN Nike
TN Requin
TN Pas Cher
TN Air Max
TN Pas Cher
Nike tn 2012
tn foot locker
TN REQUIN
Nike TN
Nike Requin
Chaussure Requin
Air Max Requin TN Pas Cher
Puma Pas Cher
04/17/2012
farooq
The exact information which I was searching got here. Thanks for sharing here
herbs
04/23/2012
Makendra
auto insurance quotes
405
state auto insurance
wxfnls
healthinsurance
ahaypb
affordable life insurance
:-OO
04/25/2012
Sree
They are frequently used by mathematicians to illustrate commonalities in different number sets. Creative writers use Venn diagrams to track character similarities in their books. Biologists use Venn diagrams to illustrate commonalities among genotypes. Thanks a lot.
Regards,
thesis statement builder
04/29/2012
www.wheyproteinspowders.net
A good example of content presentation. A piece of information from you every now and then is really great. Everything was so well coordinated and looked so aesthetically pleasing to the eye.
www.wheyproteinspowders.net
05/03/2012
www.jetztreduziert.de
This is just the information I am finding everywhere.Me and my friend were arguing about an issue similar to this! Now I know that I was right.Thanks for the information you post.
www.jetztreduziert.de
05/04/2012
Marjuki
これは私があなたの記事を読んで、あなたは、この共有のために特定のトピックのおかげに関する情報をユーザーが多くを与える記事を投稿していることに感心していますが初めてです。
Meizitang Strong
05/08/2012
jaffa
The open software specifications and the possibility of software licensing, new opportunities arose for software tools that then became the de facto standard, such as DOS for operating systems, but also various proprietary word processing and spreadsheet programs. In a similar growth pattern, proprietary development methods became standard Software development methodology. Thanks.
Regards,
Local SEO Services
05/09/2012
Vujay Margono
This is a very informative introduction. I hope you will keep us update about environmental conversation. Thank you so much in Advance.
pemutih kulit
05/11/2012
Jack
Great blog. All posts have something to learn. Your work is very good, i appreciate you and hopping for some more informative posts keep writing, Good luck…!
flower shop in new york
05/14/2012
Barack Umbelen
This posting is marvelous and what a fantastic research that you have done. It has helped me a lot. thank you very much. Feel free to visit my buy portfolio lighting site.
jasa seo
05/15/2012
lilian
Coach Outlet
is an American leather goods company famous for its ladies handbags and purses.
Coach Factory
Brand may be creating Coach Bags styles which are absolutely multicolored and fun. Here, we talk about
Coach Outlet Online
comes in different colors and sizes, which means that you can go in for
Coach Outlet Online
one that suits you the most. Made up of
Coach Factory Outlet
various rare materials of
Coach Tote Bags
, Our
Coach Outlet
has a variety of collections of Cheap Coach Shoulder Bags.
Coach Factory Outlet
has polished silver-tone framing on top, which then adds more elegance to its totality.
Coach Outlet
offer purses are cheap and fashion. When you own a coach bag, it automatically creates a mark of status for your unique style while highlighting an unique way in you.
Coach Luggage
are the highest quality bags in elegant classical styles. You can find
Coach Outlet
the special luxury and fashion design from the Cheap Coach Purses. In addition, you can even find some of the Coach bags at
Coach Outlet Online
be named after some famous models. from
http://www.atcoachoutletsonline.com/
Moreover, the exquisite workmanship makes
Coach Scarf
the darling of fashionable ladies. Don't hesitate! Order it.
05/17/2012
Add an answer*
Your name
Email
Enter the code shown above:
please wait..
Company:
5minmedia
Location:
Israel
Tags:
object oriented
,
c#
,
vb.net
,
java
,
develper
Occupations:
Software\Web Development
add a question
Now hiring!
Business Analyst, Product Development IT Relationship Managment Team
Vertex Pharmaceuticals
Cambridge, MA
Activity Diagrams- In depth understanding of the various software development lifecycles (e.g. Agile, RUP, and ... - Bachelors Degree- In depth understanding of the various software development lifecycles (e.g. Agile, RUP, and...
---------------------------
IT Sourcing Procurement Analyst Software Service Infrastructure
CVS Caremark
Woonsocket, RI
Strategy, including: Procurement Execution ?Maintain IT procurement process in collaboration with IT stakeholders ... legal risk mitigation strategy are addressed ?Support the development of executive briefings summarizing contract...
---------------------------
IT Project Manager - Information Systems Development
UnitedHealth Group
Southfield, MI
innovative solutions to meet them * Participate in the development of business strategy * Develop and manages ... of healthcare for millions of people worldwide. It's your chance to be a transformational force in the...
---------------------------
Software Development Analyst/ .NET Developer- Health IT
Northrop Grumman
Atlanta, GA
Sharp programming skills, eagerness for challenging development opportunities, and the ability to work with a ... of information security concepts and principles, as it pertains to application/service development and...
---------------------------
(IT Applications Analyst Developer Lead
Halliburton
Houston, TX
Houston, TX DUTIES: Responsible for the development, acquisition, maintenance and support of applications in assigned ... plus 7 years of progressive experience in Systems Development and Application Support, including analysis,...
---------------------------
Mgr Software Development 2-Health IT
Northrop Grumman
Little Rock, AR
and software developers. Works with members of the development team to ensure that all legacy data is ... years of relevant experience - Experience with IT Project Development Lifecycle - Experience converting data for...
---------------------------
IT Specialist (Applications Development)
Parsons
Houston, TX
in software complexity. Makes a recommendation to senior IT management and the end user. Uses charts, diagrams and ... guidance to lower-level IT staff assigned to an application development project. * Develops functional specifications to...
---------------------------
Software Development Engineer (IT Security)
Amazon.com
Seattle, WA
Role Description Amazon.com is looking for expert Software Development Engineers to develop tools supporting the IT ... for you. You will participate in every level of software development from requirements gathering to operational...
Jobs
by
Simply
Hired
View all jobs