A cache is a local copy of a file that exists elsewhere. Caching can take place in the browser, on a dedicated machine on a network, or at an ISP.

learn more… | top users | synonyms

0
votes
1answer
61 views

How to intepret varnishtop output?

When running. varnishtop -i BereqURL Output such as. 2.57 BereqURL url Will be shown. What does the number, in this example 2.57 stand for?
2
votes
1answer
65 views

For SEO, can content containing keywords be written into the page using JavaScript and still rank well?

We have a list of product summaries that appear on several different product listing sections of our website. Currently, these products are rendered into the HTML, and end up in different caches ...
8
votes
1answer
144 views

Why is spam added to the Bing cache of my landing page?

Please search on Bing "url:testrails.org" and open the cached page. Bing shows random other pages below the content of my own landing page. This is so weird! This is what I found out so far: I have ...
1
vote
0answers
78 views

What is the best way to invalidate an entire Amazon CloudFront cache or recreate the entire distribution?

After asking this question, I have decided to recreate some CloudFront distributions, as so many files need to be invalidated. But instead of creating a new distribution, is it possible to just ...
3
votes
2answers
1k views

CloudFlare Not Sending If-Modified-Since Headers

I'm trying to reduce my server load by providing 304 Not Modified responses for content where appropriate. CloudFlare is my middle man, so they should be sending If-Modified-Since headers whenever a ...
1
vote
1answer
71 views

Can I use Cloudflare with Tumblr or cache images manually?

I've just setup Cloudflare on my tumblr blog (with custom domain). 1) As I understand it, this was actually pointless because images on tumblr blogs are hosted on media.tumblr.com/.../inline.jpg and ...
1
vote
0answers
96 views

mod_cache always stores cached files served over HTTPS with “443” in the file name which causes caching not to work well

The config file: <IfModule mod_cache.c> <IfModule mod_disk_cache.c> CacheRoot /var/cache/mod_cache CacheEnable disk / CacheDirLevels 5 CacheDirLength 2 ...
1
vote
0answers
78 views

Set cache control from WAMP such that Firefox reports cached pages in the primed cache report

So I tried to allow cache by using <meta http-equiv="Cache-control" content="public, max-age=31536000"> but I'm not sure if the content of my pages are actually being cached. Although I ...
1
vote
2answers
566 views

Can external resources be cached for 7 days to improve my PageSpeed score?

Google Pagespeed recommends caching resources for at least a week under "Leverage browser caching". I've done it for internal files but I was wondering if something could malfunction if I did the same ...
1
vote
2answers
266 views

Cached Bootstrap vs Custom CSS

I am debating whether to use an existing framework such as Bootstrap which has a decent chance of being cached vs custom CSS which has zero chance of being cached. Which is better from a UX point of ...
2
votes
2answers
2k views

Why is my website cached so aggressively?

Whenever I update my website by uploading a new index.html or index.php, it always takes a long time (e.g. hours or days) for that change to propagate to my browser. Even when I hit F5, I still get ...
238
votes
42answers
30k views

Recovering a lost website with no backup?

Unfortunately, our hosting provider experienced 100% data loss, so I've lost all content for two hosted blog websites: http://blog.stackoverflow.com http://www.codinghorror.com (Yes, yes, I ...
1
vote
1answer
984 views

Can .htaccess be used to cache AdSense JavaScript to improve the pagespeed score?

I'm AdSense publisher and I need to improve the page speed score for my site. It already gets 90/100 for speed and 100/100 for User Experience, however Google AdSense code is preventing it from ...
1
vote
1answer
618 views

No cache and Google AdSense performance

I'm developing a page where I need to avoid JavaScript caching by browser. I've added this header: <?php header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); ...
19
votes
2answers
31k views

Headers to prevent 304/If-modified-since/HEAD requests

What headers should I be sending to outright stop all requests to the server after the content has been cached? We have a very high latency server (Sigh, VMWare) so even sending a HEAD request to the ...
2
votes
1answer
121 views

Where are cached files stored by the W3 total cache plugin?

I am planning to use caching for my website (W3 total cache plugin) and I was wondering whether the cached files will be save on visitors personal computers or not? I know that browsers also use ...
2
votes
2answers
472 views

Why does modx-based site start using different domains for some content?

situation I have a modx site on a VPS with multiple domain and subdomain names. The modx site should use what I call the 'primary' domain name's 'primary' subdomain, ie www.intendedname.tld . The ...
0
votes
1answer
60 views

loading old web pages and not the updated ones

I have updated my design and uploaded it to my server, but it's showing old content for sometime, new content for sometime. I randomly checked lots of computer, same problem is happening everywhere.
1
vote
2answers
251 views

I'm receiving an “Account Suspended Page” when trying to accessing my VPS

I have a VPS account and host a handful of sites. Two of these sites I cannot view from specific computers. When I open the sites I get the account suspended page. See screenshot below. Here is ...
2
votes
1answer
283 views

How to force browser to download all static files every time?

Is it possible to force browser to not using cache and download all files (html/js/css) every time? I am looking for a server side solution.
1
vote
1answer
37 views

Preventing Cache for Text Content but not for CSS files and Images

I have Wordpress blog that I write blog posts about javascript. I update the same post by generally 12-13 days or so. But sometimes I push updates daily. After I update my article and publish to ...
2
votes
1answer
278 views

Google PageSpeed, optimizing Google's own elements

I'm trying Google's PageSpeed online service Ironically, it's primarily highlighting Google's own services as something that needs improvement on my site 1) jQuery from Google: blocking. So I moved ...
2
votes
1answer
65 views

CDN caching my HTML pages too!

Recently I started using Amazon CloudFront to serve my site's JS,CSS and images via CDN. However, seems like with those, CloudFront serving my HTML pages as well? Thus http://mydomain.com and ...
1
vote
1answer
25 views

Ad revenues via Google cache

Do ad revenues from page-views (as opposed to ad-clicks) accrue from webpages viewed via Google cache?
1
vote
1answer
44 views

Values for saved data and saved requests much lower in CloudFlare analytics for several months

For several months now the pie charts in my CloudFlare analytics show a much smaller value for the saved data and saved requests (around 5%). Before this the pie charts showed a saving of around 50% ...
0
votes
1answer
134 views

Will previous 301 redirect still be cached if site switches to using SSL?

For reasons only my past self knows I put a 301 redirect in place to force all traffic to example.org from www.example.org. Put simply it dropped the www. subdomain. Now I would like to change it so ...
2
votes
1answer
90 views

Best way to optimize joomla cache. Difference between Global configuration cache and system cache plugin

I need to know for a Joomla site there is system cache plugin then there is global configuration setting to enable cache - how is it different from system cache plugin below are some of ...
1
vote
2answers
45 views

Can I place a caching server in a remote location?

Let's say I have one server acting as HTTP and MySQL server located in the UK, and I want to add a caching server, for example, Redis or Memcached. Can I add a caching server which is located in the ...
1
vote
1answer
1k views

CloudFlare - Difference between Basic, Simplified, and Aggressive caching

CloudFlare has this page to explain the difference between their caching settings: https://support.cloudflare.com/hc/en-us/articles/200168256. However, I'm still confused. It says: Basic: ...
1
vote
1answer
42 views

Can websites appear differently to different internet networks?

I just began launching a site for one of my clients, but I've come across a very strange issue. Whenever the client tries to access the website from an internet capable device in his office, he gets ...
2
votes
1answer
109 views

How long before legacy 302s are recognised as 301s?

We have some legacy 302 redirects in place on our site that should have always been 301s. We've now changed the redirects to 301s but various SEO tools (and presumably Google) still see the 302 ...
4
votes
2answers
2k views

Does Google cache stylesheets?

Hey guys, we all know that Google caches the HTML of pages, but does it cache the corresponding CSS as well? I ask because a site I used to have and have since closed down is still in the cache and ...
1
vote
1answer
150 views

How to cache on CloudFlare images that are served to client as JSON?

I am using a gallery on my website that gets list of images from a JSON sent by a php script. So, the javascript gallery calls PHP backend and it replies with complex JSON where images are specified ...
2
votes
1answer
2k views

Why doesn't FireFox cache my JavaScript file?

I've been trying to figure out why Firefox does not cache my JavaScript file. I don't have this issue with Chrome or IE. Here is what my server's Response Header looks like: ...
2
votes
1answer
565 views

Why is CakePHP generating unrequested 301 redirects?

Seemingly at random, when I attempt to go to a webpage (such as /want), another webpage (such as /get) on the same subdomain is loaded in response. This has been happening for many months on a set of ...
8
votes
3answers
507 views

Why don't browsers respect cache headers for initial page request?

I'm scratching my head a bit on this. A Drupal site I run is setting appropriate cache headers that should indicate that the page can be cached for 15 minutes. However, every time I hit the page it ...
2
votes
2answers
5k views

URL with query disables caching?

Does having a query string attached to a URL cause browsers to never cache it? For instance, my site does something like this: /radar-picture.png?v=sep2013 And it would appear that FireFox never ...
4
votes
2answers
286 views

Do browsers recognize the same files served by different subdomains?

I have my website assets stored on Amazon S3 and served by CloudFront, from a separate domain name, to act as a cookie-less domain (so website.com for the website and websitestatic.com for static ...
1
vote
1answer
67 views

Changing mysql query_cache_limit without having root priviledges

Can query_cache_limit in mysql 5 be set locally for a specific database? I don't have root privileges to change the global variable. Can query_cache_limit be set locally for each database?
3
votes
3answers
3k views

Does CloudFlare cache videos, and would this wildcard Page Rule work for that?

I'm setting everything up in my website to use CloudFlare. This is my example: On videos.domain.com/Folder-A/Folder-B/ there are some HTML files that I would NOT like CloudFlare to cache. But inside ...
3
votes
1answer
3k views

How to make CloudFlare cache everything?

I want CloudFlare to cache everything, PHP files too, every request from the domain, I want it to cache it. Is this possible? (There are PHP scripts on the domain that print out images, JS and CSS, ...
1
vote
1answer
934 views

advantages and disadvantages of base64 image strings

I discovered that you can covert images into base64 strings and use those string within img tags and css like this: <img alt="" src="data:image/png;base64,iVBORw0KGgoAhEUgAAA ... FTkSuQmCC" /> ...
0
votes
4answers
157 views

Why is cached page showing after clearing all browser data

I have cleared all browsing data from Chrome as well as pressed Ctrl+F5, but a cached home page is still displayed. My test homepage shows the new page correctly. I am absolutely positive the new page ...
1
vote
1answer
364 views

Apache returns 304, I want it to ignore anything from client and send the page

I am using Apache HTTPD 2.2 on Windows. mod_expires is commented out. Most other stuff are not changed from the defaults. gzip is on. I made some changes to my .js files. My client gets one 304 ...
1
vote
1answer
36 views

Page caching Is not working

This is my htaccess file.I also embedded webcaching code inside it. DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase / RewriteCond %{HTTP_HOST} ...
0
votes
2answers
190 views

How to add a remote file to .htaccess file for webcaching?

I have the following code in my .htaccess file that caches several file extension types: ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ...
1
vote
1answer
133 views

Website still displays deleted files

I went to update a website's CSS today and noticed whenever I uploaded the file with my changes nothing would happen - no changes would appear on my site. This was the same with any of the images I ...
3
votes
1answer
167 views

Could AJAX + caching be seen as cloaking?

I have a website where we use a technique to speed up loading times based on a combination of AJAX + caching. Basically, when we have a section in a page with content which is slow to retrieve, we ...
1
vote
1answer
652 views

Nginx Browser Caching using HTTP Headers outside server/location block

I am having difficulty setting the HTTP expires headers for Nginx outside of specific server (and then location) blocks. What I want is to something like the following: location ~* ...
6
votes
2answers
349 views

New requests for /cache/ URLs

A few weeks ago requests following this type of pattern: http://mysite/cache/7a226e8aa3a4380444a329a7b0dd0f40 http://mysite/otherfolder/cache/7a226e8aa3a4380444a329a7b0dd0f40 started to appear ...