వికీపీడియా:Bypass your cache
ఈ వ్యాసాన్ని పూర్తిగా అనువదించి, తరువాత ఈ మూసను తీసివేయండి. అనువాదం చేయాల్సిన వ్యాస భాగం ఒకవేళ ప్రధాన పేరుబరిలో వున్నట్లయితే పాఠ్యం సవరించు నొక్కినప్పుడు కనబడవచ్చు. అనువాదం పూర్తయినంతవరకు ఎర్రలింకులు లేకుండా చూడాలంటే ప్రస్తుత ఆంగ్ల కూర్పుని, భాషల లింకుల ద్వారా చూడండి(అనువాదకులకు వనరులు) |
Your web browser saves bandwidth by saving many parts of the site in its local cache (normally on your hard drive), so that they are downloaded only once. This includes articles you've previously viewed, images previously displayed, style sheets, JavaScript, etc.
Sometimes, this has the undesired – and a highly confusing – result that a recent change appears to be ignored. There may be other abnormalities, such as changes to the site's interface or changed user preferences having no effect.
Wikipedia also saves bandwidth and servers' load by using caching reverse proxy. Sometimes, this causes a few undesirable side effects due to bugs, glitches (or design) of the software and may cause that, especially with complex or highly edited page, a recent change may appear to be ignored.
When you encounter strange behavior,
- Please first try instructing your browser to bypass the cache so that the whole webpage is reloaded even if there is a cached (by the browser) copy. Normally, revisiting the cached page, or clicking "Refresh" or "Reload", will cause the browser to ask the Web site if there is a newer version available, downloading only if there is; the instructions hereafter explain how to cease this behavior.
- If this is not enough, then try resetting the proxy server cache ("purge"); the instructions hereafter explain how to do this.
Do this before reporting the problem. If the problem persists, report it at Wikipedia:Village pump (technical).
In unusual circumstances, it may be worth clearing the entire cache, or – at the extreme – to disable browser caching entirely. Clearing the cache might help the browser perform better if it has cached many items which are unlikely to be viewed soon. Disabling the cache is a non-desirable long-term solution however, as it downloads everything from a Web site every time, even if you've just glanced at them and they haven't changed. Disabling the cache is nonetheless a useful experiment in determining whether or not caching contributes to a problem.
Bypass browser cache, instructions for various browsers
[మార్చు]- To reload a page and bypass the cache:
- To completely clear the cache (see note at the top of the page):
- Internet Explorer 9:
- Click "Tools" (the Gear-shaped button on the top-right section of the browser), point to "Safety" and click "Delete Browsing History…" (keyboard shortcut: Ctrl+⇧ Shift+Del).
- Select "Temporary Internet Files", and click "Delete". (If Wikipedia is in your list of favorites, you may need to turn off the "Preserve Favorites website data" at the top of the dialog box.)
- Internet Explorer 9 will now silently delete the items you have chosen. Once finished, the notification bar appears at the bottom of the screen, stating that the selected browsing history has been deleted.
- Internet Explorer 8:
- Show the Delete Browsing History box:
- Either: Hold the Ctrl and ⇧ Shift keys and press Del.
- Or: Click the "Tools" menu then select "Delete Browsing History".
- Or: Click the "Safety" command bar button then select "Delete Browsing History".
- Then: Make sure "Temporary Internet Files" and "History" are checked, and click "Delete". If you want, you can also opt to delete cookies (but this will cause websites to forget any settings you have provided).
- Show the Delete Browsing History box:
- Internet Explorer 7:
- Click "Tools" and select "Internet Options", choose the "General" tab and click "Delete Files" under the Temporary Internet Files section. If you want, you can also opt to delete cookies and browsing history.
- Older versions of Internet Explorer:
- Click on "Tools" and then "Internet Options", and choose the "General" tab. Then click on "Delete…" under "Browsing history". In the "Temporary Internet files" section, click "Delete Files…". You will then get a dialogue box asking if you want to delete just the temporary files, or all off-line content. Choose the latter and click "OK".
- Internet Explorer 9:
- To change cache settings (normally not needed: only do this if you are reasonably confident about what you are doing):
- Select Tools ‣ Internet Options ‣ Temporary Internet files ‣ Settings… to make advanced configuration changes to the cache.
- There is an option labeled "Check for a new version of stored pages". This does not bypass the cache, it merely determines how often the browser asks whether there is a newer version available.
- Select Tools ‣ Internet Options ‣ Temporary Internet files ‣ Settings… to make advanced configuration changes to the cache.
- To reload a page:
- Either: Click the Reload button on the navigation toolbar.
- Or: Press F5.
- Or: Press Ctrl+R.[4]
- To reload a page and bypass the cache:
- On Windows: Either: Hold down ⇧ Shift and click the Reload button on the navigation toolbar.
- Or: Hold down Ctrl and click the Reload button on the navigation toolbar.
- Or: Hold down ⇧ Shift and press F5.
- Or: Hold down Ctrl and press F5.
- On Mac OS X: Hold the ⌘ Cmd key and press the R key.
- To disable the cache:
- Add
--disk-cache-size=1 --media-cache-size=1
command line switches to the shortcut target.
- Add
- To clear the cache:
- Go to the "Tools" menu (the three horizontal bars on the upper right of the browser) and click on "History" (Shortcut: Ctrl+⇧ Shift+Del).
- Click on "Clear all browsing data…"
- Select the types of data you want to clear, include "Empty the cache" option.
- On the "Clear data from this period:" drop-down list, select one of the following:
- Everything to clear all data from the specified period.
- Past day to clear the data only from the last day.
- Past week to clear the data only from the last week.
- Or Last 4 weeks to clear the data only from the past 4 weeks.
- Finally, click "Clear browsing data".
If you are the kind that would prefer to keep the data in your cache but test what Wikipedia would be like with an empty cache as opposed to without one, you can use the "incognito" browsing option which is explained hereafter.
This includes Firefox, SeaMonkey, Netscape 6, et al.
- To reload a page and bypass the cache:
- Either: Hold down both the Ctrl and ⇧ Shift keys and then press R. (Alternatively, hold down the Ctrl key and then press F5.) On a Mac, use the ⌘ Cmd key instead of Ctrl.
- Or: Hold down the ⇧ Shift key and click the Reload button on the navigation toolbar.
- To completely clear the cache (see note at the top of the page):
- In versions of Firefox that display a single, orange "Firefox" button: click the "Firefox" button and click "Options". Select the "Advanced" section, and go to the "Network" tab, and click the "Clear Now" button. Then click "OK".
- When Firefox displays a menu bar, from the "Edit" or "Tools" menu, choose "Preferences" or "Options". Select the "Advanced" section, and go to the "Network" tab. Click the button called "Clear Now". Then click "OK".
- In SeaMonkey and later versions of Netscape, choose Edit ‣ Preferences…, expand the "Advanced" section and choose "Cache". Click on the "Clear Cache" button.
- To disable caching (usually not necessary; only do this if you are reasonably confident about what you are doing):
- For Firefox
- Choose Tools ‣ Options… (or Edit ‣ Preferences in the Linux version).
- Choose "Advanced" at the top.
- Choose the "Network" tab.
- Change the cache size to 0 (zero).
- For SeaMonkey
- Choose Edit ‣ Preferences…
- Expand the "Advanced" item near the left bottom.
- Choose "Cache" item.
- Change the "Size" value to 0 (zero).
- For Firefox
If you would keep your data in your cache and test Wikipedia with an empty cache, you can use Private Browsing mode.
- To reload a page and bypass the cache:
- for version 4 and newer:
- Hold down the ⇧ Shift key and click the Reload toolbar button.
- for version 3 and older:
- Hold down the ⌘ Cmd key, and press R. This kind of "regular" reload will usually bypass the cache.
- Note that Apple claims that clicking the "Reload" toolbar button has the same effect as ⌘ Cmd+R, but this is not true; frequently the button will not bypass the cache. In fact, numerous Web developers have reported general erratic behavior in bypassing the cache with Safari, in some cases having to resort to both clearing the cache (see hereafter) and then quitting and relaunching the application.
- for version 4 and newer:
- To completely clear the cache (see note at the top of the page):
- From the "Safari" menu, choose "Empty Cache…" or hold down the ⌥ Opt and ⌘ Cmd keys and press E.
- To disable the cache permanently (this method only works on old versions of Safari 2 on Mac OS X 10.4 and previous versions, and is not recommended as it may potentially (although rarely) cause system instability):
- Quit Safari by choosing "Quit" from the "Safari" menu, or by holding down the ⌘ Cmd key and pressing Q.
- Open a Terminal window by double-clicking "Terminal" within the "Utilities" folder, which is within the "Applications" folder.
- Type the following commands, which are case-sensitive, each followed by the ↵ Enter key:
rm -rf ~/Library/Caches/Safari
touch ~/Library/Caches/Safari
- Quit Terminal by choosing "Quit" from the "Terminal" menu, or by holding down the ⌘ Cmd key and pressing Q.
- Relaunch Safari.
- To disable the cache for the session (requires developer menu to be enabled; go to "Preferences", pick the "Advanced" tab, then click "Show Develop menu in menu bar"):
- Click "Develop", then click "Disable Caches".
- To reload a page:
- Either: Click the Reload button on the navigation toolbar.
- Or: Press F5.
- Or: Press Ctrl+R.
- To reload a page and bypass the cache (v11.62+):[5]
- Either: Hold down ⇧ Shift and click the Reload button on the navigation toolbar.
- Or: Hold down Ctrl and click the Reload button on the navigation toolbar.
- Or: Hold down ⇧ Shift and press F5.
- Or: Hold down Ctrl and press F5.
- To completely clear the cache:
- From the "Tools" menu, choose "Preferences". Expand the "Advanced" options and choose "History". Click the "Empty now" button.
- Alternatively, you can clear the cache, history and cookies: From the "Tools" menu, choose "Delete private data". Click "Details", make sure that "Delete entire cache" is selected, and then choose any other data you want to remove.
- To disable the cache permanently (only do this if you are reasonably confident of what you are doing):
- From the "Tools" menu, choose "Preferences". Expand the "Advanced" options and choose "History". Click on the dropdown menu for "Disk Cache" and select "Off".
- Note: On a Mac the "Tools" menu does not have a "Preferences" option. "Opera → Preferences" is the correct menu item.
- From the "Tools" menu, choose "Preferences". Expand the "Advanced" options and choose "History". Click on the dropdown menu for "Disk Cache" and select "Off".
- To set up Opera to bypass the cache of specific files without needing to clear the entire cache:
- From the "Tools" menu, choose "Appearance" (or press ⇧ Shift+F12).
- In the dialogue, select "Panels" and tick the "Info" and "Show panel toggle at edge of window" checkboxes.
- Now there will be a clickable bar along the left edge of your browser window.
- Click the bar and select "Info" ( icon) and this will give you a list of files used in the page.
- You can now select any single individual file for which you want to selectively bypass cache (as mentioned before – using F5 or ⇧ Shift+Reload).
- To reload a page and bypass the cache:
- Either: Press F5.
- Or: Click the "Reload" button on the toolbar.
- (Unlike other browsers, Konqueror seems to bypass its cache whenever you reload a page.)
- To completely clear the cache:
- From the "Settings" menu, select "Configure Konqueror". Scroll down to select the icon labeled "Cache", and click the button labeled "Clear Cache".
- To completely clear the cache:
- Go to the "Tools" menu and click on "Options".
- Go to "Privacy" and then click on "Cache".
- Click on "Clear Cache Now".
- Flock v1.0.8 for Mac instructions:
- Go to the "Flock" menu and click on "Preferences".
- Go to "Privacy" tab and then, under "Private Data" (bottom field), click on the "Clear Now…" button.
- Select the "Cache" checkbox (only, or in combination with other desired options).
- Click the "Clear Private Data Now" button.
- To completely clear the cache:
- From the "OmniWeb" menu, choose "Flush Cache" or hold down the ⌥ Opt and ⌘ Cmd keys and press U.
Server cache
[మార్చు]The Wikimedia servers cache a version of articles for visitors who are not logged in. For these users, preferences do not affect the layout so each webpage is always the same. They are recreated (converted from wikitext to HTML) only when the wikitext changes.
This causes a few undesirable side effects due to bugs, glitches (or design) of the software:
- References to variables which give the current date and time (20 నవంబరు, 05:19 UTC) ({{CURRENTDAY}} {{CURRENTMONTHNAME}}, {{CURRENTTIME}}) are updated only when logged in.
- The cache for redirected pages contains the rendered HTML-page of the target; this is not "invalidated" when the target page is updated. A page must be "invalidated" for the article text to be recreated. That is, if Article A is a redirect to Article B, subsequent references to Article A displays the cached copy of Article B even if Article A or Article B is updated.
Forcing the server to re-render
[మార్చు]When the improperly displayed content is contained in a template or other transcluded page, bypassing your own cache might not be enough . For the new material to be visible, you may need to purge the server cache of old versions of the page.
The server can be instructed to refresh its cache of a page's contents with the action=purge
Web address parameter. Add this to the end of the address, or in place of the action=edit
or action=history
.
For example, to purge this page – which forces the latest version of wikimarkup to be rendered to HTML – visit
- //te.wikipedia.org/w/index.php?title=%E0%B0%B5%E0%B0%BF%E0%B0%95%E0%B1%80%E0%B0%AA%E0%B1%80%E0%B0%A1%E0%B0%BF%E0%B0%AF%E0%B0%BE:Bypass_your_cache&action=purge
or
- //te.wikipedia.org/wiki/%E0%B0%B5%E0%B0%BF%E0%B0%95%E0%B1%80%E0%B0%AA%E0%B1%80%E0%B0%A1%E0%B0%BF%E0%B0%AF%E0%B0%BE:Bypass_your_cache?action=purge
For technical pages you think may need to be purged on a regular basis, include {{purge}} (or other related template). Don't put this on article space pages.
Internet service provider cache
[మార్చు]Your Internet service provider, proxy, or other intermediary services may also cache pages. You will need to consult your Internet service provider's terms of service or customer service for more assistance with purging such caches.
Disabling page caching
[మార్చు]As a last resort, you can adjust your user preferences (after logging in to Wikipedia) to disable page caching entirely, using the options and tools listed hereafter.
- Preferences → Appearance → Disable page caching.
See meta:Help:Preferences#Advanced options. Be forewarned: you will be using more bandwidth, make the servers work harder and get worse performance with this option set. Use it as a last resort.
See also
[మార్చు]References
[మార్చు]- ↑ "IE 9 keyboard shortcuts". Microsoft, windows.microsoft.com. Retrieved 2012-08-14.
- ↑ "IE 8 keyboard shortcuts". Microsoft, windows.microsoft.com. Retrieved 2012-08-14.
- ↑ "IE 7 keyboard shortcuts". Microsoft, windows.microsoft.com. Retrieved 2012-08-14.
- ↑ "Google Chrome help page". Google. Retrieved 2012-08-14.
- ↑ Opera Software Documentation Team (2012-03-27). "Opera 11.62 for Windows changelog". Opera. Retrieved 2012-08-14.
External links
[మార్చు]- How to clear Firefox 3.x cache, GroovyPost
- How to clear IE 7 cache, GroovyPost
- Step-by-step guides for clearing cache [dead link], Refresh your cache