Forum Home Forum Home > Site News, Newbies, Help and Improvements > Internal news
  New Posts New Posts RSS Feed - New Caching Feature
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedNew Caching Feature

 Post Reply Post Reply
Author
Message
M@X View Drop Down
Forum & Site Admin Group
Forum & Site Admin Group
Avatar
Co-founder, Admin & Webmaster

Joined: January 29 2004
Location: Canada
Status: Offline
Points: 4028
Direct Link To This Post Topic: New Caching Feature
    Posted: July 16 2008 at 05:59
Hi guys,

We are testing a new feature to preserve server processing time by adding CACHING to the ARTIST and SUBGENRES pages for 60 minutes.

So basically theses pages will reload from the server and databases every 1 hour. Reviews and changes in theses pages won't be visible during that "cached" period.

Please report any issues here.

Max, working hard to make PA a better place to surf.... ;-)

Prog On
Prog On !
Back to Top
MikeEnRegalia View Drop Down
Special Collaborator
Special Collaborator
Avatar
Honorary Collaborator

Joined: April 22 2005
Location: Sweden
Status: Offline
Points: 20527
Direct Link To This Post Posted: July 16 2008 at 06:26
^ I've had a lot of experience with caching ... maybe you can check if there's a way to invalidate the cache when a review is submitted? Then new reviews would be visible immediately, and you could increase the interval even further. If this is not possible, you should add a statement to the review textarea, so that people know that they'll have to wait a little bit (something like "please note that for performance and security reasons it will take a little while for your review to appear on the artist and album pages").

BTW: Maybe it would even make sense to add the caching to the start page. Even a caching interval of 5 minutes should increase the performance a lot, since I assume this page is requested very frequently.
Back to Top
M@X View Drop Down
Forum & Site Admin Group
Forum & Site Admin Group
Avatar
Co-founder, Admin & Webmaster

Joined: January 29 2004
Location: Canada
Status: Offline
Points: 4028
Direct Link To This Post Posted: July 16 2008 at 10:56
Thanks Mike, I have cached the HOMEPAGE 5 minutes and the server is really performing better now (more active users on the FORUM) and more WebSite connections simultaneous.

I will have a check for the Clear Cache on Review Posted ... and let you know !

I was already using caching for the TOP100 on the homepage and flushed when review were posted, but know I use another CACHE function, that cache the WHOLE HTML PAGE so ... i need to do some research about it.

Thanks again


Prog On !
Back to Top
micky View Drop Down
Special Collaborator
Special Collaborator
Avatar
Honorary Collaborator

Joined: October 02 2005
Location: .
Status: Offline
Points: 46828
Direct Link To This Post Posted: July 16 2008 at 17:57
Originally posted by M@X M@X wrote:



Max, working hard to make PA a better place to surf.... ;-)

Prog On


good job M@X. Give 'em hell....

http://www.youtube.com/watch?v=Gz3Cc7wlfkI


and make it safe for us to surf....  with Tony R at the the ready with the napalm....

http://www.youtube.com/watch?v=oPcSDyaoQn0


The Pedro and Micky Experience - When one no longer requires psychotropics to trip
Back to Top
VanderGraafKommandöh View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: July 04 2005
Location: Malaria
Status: Offline
Points: 89372
Direct Link To This Post Posted: July 16 2008 at 18:03
I should have checked this before adding Jannick Top's new album to the database... it wasn't showing up on his page and so I added it again.

Now there's two versions of the album on the database.

Would an Admin be so kind and delete this one?

http://www.progarchives.com/album.asp?id=19031


Cheers and apologies for the error! Embarrassed
Back to Top
VanderGraafKommandöh View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: July 04 2005
Location: Malaria
Status: Offline
Points: 89372
Direct Link To This Post Posted: July 16 2008 at 18:06
Thanks... whoever did that, it's much appreciated! Big%20smileClap
Back to Top
micky View Drop Down
Special Collaborator
Special Collaborator
Avatar
Honorary Collaborator

Joined: October 02 2005
Location: .
Status: Offline
Points: 46828
Direct Link To This Post Posted: July 16 2008 at 18:12
M@X.. Mike...all the technical sh*t is beyond me...  so is that the way is to be?... new additons will not show immediately but as some sort of hourly update?.. if so.... let the people know or we might have lots of multiple additions.  This section is not exactly the VR you know LOL... not everyone will catch word of what is going on.  

Edited by micky - July 16 2008 at 18:13
The Pedro and Micky Experience - When one no longer requires psychotropics to trip
Back to Top
MikeEnRegalia View Drop Down
Special Collaborator
Special Collaborator
Avatar
Honorary Collaborator

Joined: April 22 2005
Location: Sweden
Status: Offline
Points: 20527
Direct Link To This Post Posted: July 16 2008 at 18:16
^ give M@x some time to sort it out ... caching is definitely a good solution for the archives. Once M@x figures out how to reset the cache when reviews or albums are added to the database, everything will work as it used to, and the server will not waste processing power on building pages from scratch which haven't changed since the last time they were requested.Smile


Edited by MikeEnRegalia - July 16 2008 at 18:37
Back to Top
VanderGraafKommandöh View Drop Down
Prog Reviewer
Prog Reviewer
Avatar

Joined: July 04 2005
Location: Malaria
Status: Offline
Points: 89372
Direct Link To This Post Posted: July 16 2008 at 18:21
Originally posted by micky micky wrote:

M@X.. Mike...all the technical sh*t is beyond me...  so is that the way is to be?... new additons will not show immediately but as some sort of hourly update?.. if so.... let the people know or we might have lots of multiple additions.  This section is not exactly the VR you know LOL... not everyone will catch word of what is going on.  


Do note JFF posts no longer show up in the Top 10 posts, so there's now more of a chance of people seeing these type of threads. Wink

If people stop making polls, that is. LOLEmbarrassed
Back to Top
micky View Drop Down
Special Collaborator
Special Collaborator
Avatar
Honorary Collaborator

Joined: October 02 2005
Location: .
Status: Offline
Points: 46828
Direct Link To This Post Posted: July 16 2008 at 18:39
Originally posted by James James wrote:

Originally posted by micky micky wrote:

M@X.. Mike...all the technical sh*t is beyond me...  so is that the way is to be?... new additons will not show immediately but as some sort of hourly update?.. if so.... let the people know or we might have lots of multiple additions.  This section is not exactly the VR you know LOL... not everyone will catch word of what is going on.  


Do note JFF posts no longer show up in the Top 10 posts, so there's now more of a chance of people seeing these type of threads. Wink

If people stop making polls, that is. LOLEmbarrassed


oh cool... 

thanks M@X... you've made me happy... time for a party dude..

http://www.youtube.com/watch?v=jserFH3YUYE
The Pedro and Micky Experience - When one no longer requires psychotropics to trip
Back to Top
micky View Drop Down
Special Collaborator
Special Collaborator
Avatar
Honorary Collaborator

Joined: October 02 2005
Location: .
Status: Offline
Points: 46828
Direct Link To This Post Posted: July 16 2008 at 18:41
Originally posted by MikeEnRegalia MikeEnRegalia wrote:

^ give M@x some time to sort it out ... caching is definitely a good solution for the archives. Once M@x figures out how to reset the cache when reviews or albums are added to the database, everything will work as it used to, and the server will not waste processing power on building pages from scratch which haven't changed since the last time they were requested.Smile


excellent..thanks Mike. 
The Pedro and Micky Experience - When one no longer requires psychotropics to trip
Back to Top
Slartibartfast View Drop Down
Collaborator
Collaborator
Avatar
Honorary Collaborator / In Memoriam

Joined: April 29 2006
Location: Atlantais
Status: Offline
Points: 29625
Direct Link To This Post Posted: July 16 2008 at 19:21
Pinch CACHEW!
Tongue



Edited by Slartibartfast - July 16 2008 at 21:17
Released date are often when it it impacted you but recorded dates are when it really happened...

Back to Top
Seyo View Drop Down
Special Collaborator
Special Collaborator
Avatar
Honorary Collaborator

Joined: May 08 2004
Location: Bosnia
Status: Offline
Points: 1320
Direct Link To This Post Posted: August 02 2008 at 12:55
I hope this caching thing is gonna be sorted out quickly, so we can again enjoy seeing our contributions to the site IMMEDIATELY! Disapprove
Back to Top
M@X View Drop Down
Forum & Site Admin Group
Forum & Site Admin Group
Avatar
Co-founder, Admin & Webmaster

Joined: January 29 2004
Location: Canada
Status: Offline
Points: 4028
Direct Link To This Post Posted: August 03 2008 at 21:32
The HOMEPAGE caching is not active anymore so the reviews are posted LIVE on the front page.
I'll try to keep it that way
Prog On !
Back to Top
Pnoom! View Drop Down
Forum Senior Member
Forum Senior Member


Joined: September 02 2006
Location: OH
Status: Offline
Points: 4981
Direct Link To This Post Posted: August 03 2008 at 21:38
Originally posted by Slartibartfast Slartibartfast wrote:





Pinch CACHEW!Tongue


More like Caches... Ewwwwwww...


J/k, great work max.
Back to Top
Henry Plainview View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: May 26 2008
Location: Declined
Status: Offline
Points: 16715
Direct Link To This Post Posted: August 04 2008 at 18:44
Originally posted by Seyo Seyo wrote:

I hope this caching thing is gonna be sorted out quickly, so we can again enjoy seeing our contributions to the site IMMEDIATELY! Disapprove

Does it really matter? Even if the cache reset every 24 hours, that's not all that long to wait and a small price to pay for the site not crapping out every other minute.
if you own a sodastream i hate you
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.
Donate monthly and keep PA fast-loading and ad-free forever.