A customer suggested I add this meta tag to eliminate issues with his machine caching things like images he's uploaded.
He is using it in reference to a custom module we've developed, in which his avatar is shown. I believe the circumstances were that he updated his avatar in the Avatar module, then went back to his page in the custom module, which still showed the old avatar.
I haven't really delved into the caching system related to our custom module. Is there a built in way to handle this? If not, will using his suggested meta tag interfere with the Zikula caching system in any way?
Thanks.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
meta tag?
-
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
-
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
OK, should have known that the tag I entered as a "subject" would get scrubbed. It's
Code
< meta http-equiv="no-cache" >
Edited by bronto on Sep 15, 2010 - 04:10 PM. -
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
Maybe it would be better to ask this question a different way, addressing the reason the meta tag suggestion was made.
I have a site that lists a directory of people who are not necessarily members of the site. For those that are members, we would like them to upload an avatar using the Avatar module, and these avatars show up next to their directory listing. We have a amateur programmer as a tester, and he uploaded an avatar for himself. He reported that his listing still had his old avatar showing, and he then made the suggestion to use the nocache meta tag.
So as a related question, is there some other way to "fix" this problem using the templating system and Zikula's built in caching system. I know that a properly written module will show the new data when it is updated, as as far as I know the Avatar module did this. But the Directory module wouldn't know that the avatar had been updated, would it? If not, is there any way to *tell* it that it had been updated? I should point out, for anyone who doesn't know, that the avatar module uses the same file name for a given user regardless what the original file name was. In other words, my avatar will always have the file name "pers_1234.jpg" no matter what the original uploaded file was called.
- Moderated by:
- Support
