-
AuthorPosts
-
vipcory Friend
vipcory
- Join date:
- June 2011
- Posts:
- 84
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
May 12, 2012 at 12:41 am #176967Hello,
I am trying to figure out what to do so the browser knows to get fresh page from the server. Because right now when people re-visit our news site they are not seeing the updates unless they clear their own browser cache.I been looking at this meta tag:
<meta http-equiv=”pragma” content=”no-cache” />Anyone familiar with that and how its used? OR any other ways to handle browser caching?
thanks
I am using j2.5 teline_iv, but that does not matter as this is pretty much general question.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 12, 2012 at 4:54 am #452714hi vipcory,
I think this is depending on your browser cache setting, I am also using j2.5 teline_iv and I have no problem as mentioned, when I disabled the server cache it was always able to see the fresh contents after updating.
You can also try to add a meta tag as mentioned
<meta http-equiv=”pragma” content=”no-cache” />
To see if it help.1 user says Thank You to Sherlock for this useful post
vipcory Friendvipcory
- Join date:
- June 2011
- Posts:
- 84
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
May 12, 2012 at 8:32 pm #452807<em>@Sherlock Holmes 319272 wrote:</em><blockquote>I have no problem as mentioned, when I disabled the server cache it was always able to see the fresh contents after updating</blockquote>
hi,Where do I disable the server cache?
vipcory Friendvipcory
- Join date:
- June 2011
- Posts:
- 84
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
May 12, 2012 at 8:54 pm #452808<em>@vipcory 319397 wrote:</em><blockquote>hi,
Where do I disable the server cache?</blockquote>
Also, would it be possible for you to pm me your teline url so I can compare our http headers on this site: http://redbot.org
I just checked mine and there is no cache options set, it also sais INVALID ETAG form.Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 14, 2012 at 4:32 am #452892<em>@vipcory 319397 wrote:</em><blockquote>hi,
Where do I disable the server cache?</blockquote>
you just go to your template back-end, at the Global tab you select the field “Enable Development Mode” to yes or the “Cache Mode” to Disable.
vipcory Friendvipcory
- Join date:
- June 2011
- Posts:
- 84
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
May 15, 2012 at 8:04 pm #453176This is the problem: You visit the site then you come back and visit the site again the next day. The BROWSER is NOT loading the page from the server, its loading from its own BROWSER cache.
There HAS to be something that tells the browser that the page will expire in X hours, so load it from the SERVER not browser cache.This is especially important for a news site that multiple times a day. And this has nothing to do with joomla or t3 cache. This has to do with site telling the server when to load.
i thought this would be done thru etag, but apparently not.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 16, 2012 at 3:52 am #453207<em>@vipcory 319890 wrote:</em><blockquote>This is the problem: You visit the site then you come back and visit the site again the next day. The BROWSER is NOT loading the page from the server, its loading from its own BROWSER cache.
There HAS to be something that tells the browser that the page will expire in X hours, so load it from the SERVER not browser cache.This is especially important for a news site that multiple times a day. And this has nothing to do with joomla or t3 cache. This has to do with site telling the server when to load.
i thought this would be done thru etag, but apparently not.</blockquote>
Hi vipcory,
Maybe the browser that you are using has a special cache setting, Did you try to check on other browsers on other computers?
You can also check to see wheter or not your System – Cache is enabled. If it is the case, just simply disable it.
Take a look at joomla cache documentation here for better understanding and preferences.Good luck, mate!
vipcory Friendvipcory
- Join date:
- June 2011
- Posts:
- 84
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 18
- Thanked:
- 1 times in 1 posts
May 16, 2012 at 5:33 am #453216<em>@Sherlock Holmes 319936 wrote:</em><blockquote>Hi vipcory,
Maybe the browser that you are using has a special cache setting, Did you try to check on other browsers on other computers?
You can also check to see wheter or not your System – Cache is enabled. If it is the case, just simply disable it.
Take a look at joomla cache documentation here for better understanding and preferences.Good luck, mate!</blockquote>
Thank you, 1 last question, I just noticed that the plugin System-Cache is disabled, do you recommend that be enabled or disabled?
for jateline_iv j2.5 with all other caches on. -
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by Sherlock 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum