Last post Mar 12, 2011 07:07 PM by etemalicli
Mar 12, 2011 08:01 AM|SweeT EviL|LINK
I'm building a WebForms site and in the trying of minimize the load time of a page, I was thinking of generate a file (aspx) that contains all the data that I can load in advance. All the data that shows on the pages in the site are inserted through content
management system and at the maximum happens every 1-5 minutes.
In this process I will decrease the number of times a page will access the db, and maybe there will be some pages that wont at all because of this process. On the other hand the server load will always be high and maybe there will be conflicts during the
creation of a file (say if one access the same file at the exact time?).
This are may consideration as I though of, what you think?
Mar 12, 2011 01:45 PM|ignatandrei|LINK
Depends on specifications. If the users can see the last day sales, that's ok. If the users want to see 1 second ago sales, that's not ok.
Mar 12, 2011 07:07 PM|etemalicli|LINK
It does not sound good. You need to sync with the content management system. As soon as it publish/update/remove some content you shoudl receive a notification of the event and update your caches accordingly.