Best way to clear cache to display updates

jniesen - October 28, 2009 - 15:56

Hi, I'm altering the imagefield module to pull files from a library on the server instead of allowing users to upload files.
I have everything working except that the newly added image doesn't appear until I upload another image the normal way, so its a drupal cache issue. I need to either delete the cache or reload it with the new db information when the edit content type page is loaded.

I would prefer not to clear all the cache each time an image is manually added by my code. Is there a way to update the cache when I update the files table? Any suggestions is greatly appreciated.

Thanks

Have you tried Drush or the

Openlogic - October 29, 2009 - 03:55

Have you tried Drush or the Devel module? Both should work.

_________________________________________
Drupal, Mobile and Open Source Consulting
www.openlogicsys.com

Thanks

jniesen - October 29, 2009 - 12:48

I'll look into them today.

 
 

Drupal is a registered trademark of Dries Buytaert.