How do you update the cached version of a page?

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-24-2007, 10:37 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 220
I am trying to debug an error i'm getting on the user and profile pages and i want to try to update the cached version of these pages when a user uploads a new avatar photo. I have no idea how the caching system works, but is there a function that can be called at the end of the upload process to update the cache of these pages?
Reply With Quote
  #2 (permalink)  
Old 01-25-2007, 02:16 AM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
The profile page is not cached. The template is "compiled" but that only affects the speed in which PHP processes it. You can try to remove all the files in the templates_c folder and see if that helps, but this should only need to be done if you change the php or html code for the page.
Reply With Quote
  #3 (permalink)  
Old 01-25-2007, 12:32 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 220
Thanks AshDigg.

It looks like the problem i am trying to solve is a bug and that it affects both 8.2 and 9. (see http://www.pligg.com/forum/showthread.php?t=3773)

When a user tries to update their avatar the old image continues to be used on the profile and user pages until i update the php code for the profile / user pages or empty the templates_c folder.

This is a fairly significant and confusing bug for users.

AshDigg ... is there something that can be added to the profile.php to fix this bug?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Variables Yankidank Wiki Articles 3 05-19-2011 09:21 AM
How to make a Digg-style FAQ page with JavaScript and jQuery mendim Questions and Comments 25 09-14-2010 12:27 AM
Google Page Rank Update what was yours? bbrian017 Questions and Comments 9 01-13-2008 02:40 PM
Odd proble with Google Cached Version of my site Critter183 Questions and Comments 2 03-20-2007 04:01 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development