Questions tagged [cache]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

The old version of the website is still lingering on the Internet

I run a simple companion website to my book. To count the hits on the website, I use a simple PHP counter that is triggered by this command <img src="counter.php?Identifier=name" height=&...
Pygmalion's user avatar
  • 183
0 votes
0 answers
10 views

Could X-Cache: STALE affect Google rankings?

Could the presence of X-Cache: STALE response header decrease my Google rankings ? I am the second time when ... while working on cache servers configuration I see rankings drop even thou response ...
adrianTNT's user avatar
  • 203
1 vote
1 answer
74 views

Cache warming: is fetching the url of the pages enough?

Googling on the topic of cache warming, I see that most approaches consist in automated http calls (get requests) to the pages listed in the sitemap, using a script or command line tool. But I suppose ...
seinecle's user avatar
  • 111
3 votes
3 answers
308 views

Does React JS Increase Page Load Time

Currently my website only uses HTML, CSS, and JavaScript. I know that the React JS library is about 30 KB. I am wondering if that 30 KB will be downloaded from my server by every user who visits my ...
Jack N's user avatar
  • 131
1 vote
2 answers
37 views

Cache control headers vs using CDNs: What's the difference?

We want to implement caching to speed up the website performance. What would be beneficial in this case - using CDN or Cache control HTTP headers?
Natheem S's user avatar
0 votes
1 answer
32 views

Can a browser render a website and download its content to show without caching or saving anything to the computer? [closed]

Can a browser render a website without caching anything to the computer and just downloading the website ‘live’? I’m not sure if that is how it works, but in other words can a browser show a website ...
AndroidUser558's user avatar
0 votes
1 answer
45 views

Upon clicking on my website link a file downloads [closed]

I'm using hostinger VPS for WordPress hosting (CentOS 7 64bit with CyberPanel ). Wolf plan. CPU core: 8 RAM: 16GB Bandwidth: 12TB But the catch is it's only accessible from my 1 profile on my PC (...
Ashiq Tasdid's user avatar
3 votes
1 answer
965 views

Reliability of using query strings to refresh cache

I have seen a number of articles suggesting the use of a query string to force refresh of a cached file. For example, style.css becomes style.css?ver=134, and you update the "version number"...
CaptainCodeman's user avatar
3 votes
1 answer
233 views

Will Google Optimize work with server side caching and a CDN?

My website is using WordPress + WP Rocket Cache plugin + Cloudflare CDN Cache. Will Google Optmize works with such a case? In my understanding, as Google Optimize will change the web page source file, ...
alancc's user avatar
  • 439
1 vote
1 answer
173 views

How to cache the html file of redirected website

I have a website A whose content gets updated every minute(Its content is related to stock price). However, because displaying the content of website A requires expensive computation, I want to create ...
John Doyle's user avatar
7 votes
4 answers
13k views

How to force users to see new site instead of the cached version?

We've just launched a new website. This was a complete redesign, including a change from a static HTML website, hosted on Server A, to a WordPress site hosted on Server B. (the relevance of that is ...
sam's user avatar
  • 4,627
2 votes
1 answer
211 views

How to use cdn cache with login status in menu?

On my website I have in the header a button called either "Login" or the name of the user if he is logged in with a small avatar. I don't use any cache, so the text for the header is ...
Adam's user avatar
  • 389
3 votes
0 answers
260 views

litespeed cache works but after some time site gets to redirect into redirect loop

I have a WP one page website on which i enabled light speed cache plugin which improved site performance but on the other side side goes into redirect loop which crashes the site. I was not able to ...
Learning's user avatar
  • 711
1 vote
1 answer
65 views

Can I tell who is accessing archive.org archived documents from my site from my server logs?

I currently host a website with a collection of some of my projects, where a few of them are currently undergoing a patent review process. I don't want these documents to be public (though they were ...
user avatar
2 votes
1 answer
396 views

How does hash in file name affect google image search ranking?

In terms of cache optimization it is recommended for static files like images to cache them forever. In this case if you want to update an image you have to use a different file name so that the ...
Sr. Schneider's user avatar
1 vote
1 answer
233 views

Default cache-control directives (and behaviour) when header returns only private

I just checked the cache-control header returned by webmasters.stackexchange.com. The only directive present in the response is cache-control: private. In this case, what are the default values for ...
Kannan's user avatar
  • 2,343
6 votes
2 answers
3k views

Do ISPs cache HTTPS web pages?

Provided I have not set cache-control header to private, can ISPs cache web pages (by respecting max-age) served over HTTPS? Sorry if I sound naive, but I wanted to know if ISPs somehow can cache and ...
Kannan's user avatar
  • 2,343
0 votes
1 answer
30 views

Why do servers cache Web pages even though they know the Web page will be changed in the future?

For performance, some Web pages get cached. This is because the server can then speed up page load time: Without a cached copy +--SERVER--+ +--CLIENT-...
no ai please's user avatar
0 votes
2 answers
50 views

Using Cache to make website faster

I am building a website with node.js express webserver and i use Mongo db database. On my website people can register a profile they can upload pictures and write text. Now i hear often that many ...
James Butler's user avatar
0 votes
0 answers
154 views

Adsense not showing

This is kind of a strange glitch, but still..? I can’t figure it out. When I go to a question on my database almost every time, the ads don’t show, but when I change the url by adding page.php?...
daniel eymer's user avatar
1 vote
1 answer
183 views

How to determine if APCu is overall lighter than Memcached in a usecase?

I would say that my personal website is at least currently a "small" website. It is a MediaWiki-based all-core website without images at all and of about 750 webpages of generally no more ...
humbleasker's user avatar
2 votes
1 answer
979 views

Cache-Control for ads.txt, robots.txt and sitemap.xml files that are generated dynamically

I have some "static files" that I build on the fly, because they are generated dynamically. ads.txt robots.txt sitemap.xml What is the ideal Cache-Control for those files? PS: My server is ...
cbdeveloper's user avatar
4 votes
1 answer
220 views

Use A.jpg if you have it in cache, otherwise use B.jpg?

Let's say I have one page big.html that uses <img alt="big image" src="big.jpg" width="300" height="300" /> where big.jpg is indeed an image of 300 by ...
Hagen von Eitzen's user avatar
1 vote
0 answers
63 views

httpd.conf is cached and no editing is succesful [closed]

I am going to use the WSL system on Windows10 to create a website. The distro is Ubuntu. I put httpd.conf in /etc/apache2/conf-available where there are these two lines (line 40): Define SRVROOT "...
P5music's user avatar
  • 111
2 votes
1 answer
223 views

What's the difference between access and access plus in ExpiresByType directive?

I have seen: ExpiresByType image/jpg "access 1 year" But also: ExpiresByType image/jpg "access plus 1 year" So, what's the difference between those two lines ?
Andrei's user avatar
  • 127
1 vote
1 answer
30 views

What types of files does ExpiresDefault include?

I have: ExpiresActive On ExpiresByType image/jpg "access 1 years" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType image/gif ...
Andrei's user avatar
  • 127
1 vote
2 answers
599 views

How ExpiresByType and Header set Cache-Control works together?

I have: ExpiresActive On ExpiresByType image/jpg "access 2 years" And let's say: <filesMatch ".(jpg|jpeg|png|gif)$"> Header set Cache-Control "max-age=31536000, ...
Andrei's user avatar
  • 127
1 vote
0 answers
28 views

Understanding mod_expires apache module [closed]

Working with htaccess is a new capitol for me. I have already read about mod_expires here https://httpd.apache.org/docs/current/mod/mod_expires.htm, but I'm stil confused. I have the next code from ...
Andrei's user avatar
  • 127
1 vote
0 answers
96 views

Understanding .htaccess cache rules [closed]

I talk about cache, and I don't know any cache system that is interested in keeping my files, for me, and for free. And, as I read, there are almost 5 other cache systems triggered when a user/client ...
Andrei's user avatar
  • 127
2 votes
0 answers
31 views

Deleting AMP cache: "The requested URL /update-cache/c/s/whatever was not found on this server"

I want to delete the AMP contents of my 'amp-en.products.example.com' website. I create the following URL to flush the cache https://amp--en-products-example-com.cdn.ampproject.org/update-cache/c/s/...
Hookstark's user avatar
  • 423
0 votes
1 answer
35 views

WP site struggling to refresh

I used to think this was an issue with Google Chrome, when I would struggle to get pages to refresh with their latest CSS styles — despite me having the option set to disable cache when inspector ...
user avatar
1 vote
1 answer
91 views

How to manage page caching to serve different AdSense units for Mobile and Desktop

I'm trying to cache the pages of my website, which are responsive and show the same contents for Desktop and for Mobile, with the exception of the location of the AdSense units if the visit is from ...
Hookstark's user avatar
  • 423
0 votes
0 answers
305 views

Why Google Cache Showing 404 on my React Base Webpages?

My web page is client-side rendered with React. On hitting the cache, it is showing 404 instead of a rendered page. Example Screenshot When I inspect the Page URL on Search Console, Its parsing and ...
Abdul Baqi's user avatar
3 votes
1 answer
1k views

Large number of hits from IP addresses that reverse lookup to "cache.google.com"

We are seeing a large amount of server requests by IP addresses claiming to be cache.google.com and they are coming from all sorts of (unexpected) countries too. Currently the FW blocks servers that ...
snh_nl's user avatar
  • 653
2 votes
1 answer
51 views

How to create a html file offline with app cache

We have an online html file that is accessible through the browser, we want this to be available offline and looking in to it the best thing would be using the App Cache with a manifest file. I ...
CAdsett's user avatar
  • 21
2 votes
1 answer
1k views

When my origin serves a "304 Not Modified", Cloudflare sends "200 OK" and makes the user download the page again

I'm using Cloudflare to cache certain APIs. I'm setting the below headers in my Origin server: Cache-Control: public, must-revalidate, max-age=300 Basically, I'm instructing the browser here to cache ...
Jayaram's user avatar
  • 133
2 votes
1 answer
75 views

Why is the Google Analytics keyword report showing items that start with "cache:"?

When I check Google Analytics, I see some keywords like cache:2933b974en0J:https://example.com/subservice/well-digging Why is this showing in google analytics? What is the problem? How can I solve it?...
Bisro ir's user avatar
1 vote
1 answer
392 views

Why I am not seeing HTTP 304 response codes in my Apache logs?

Why I am not seeing HTTP 304 response code in my Apache logs even though my webpages are sending them? I've checked this in Chrome console: My goal is to see which browsers are successfully using ...
Dejan Dozet's user avatar
3 votes
1 answer
154 views

Flush cached selector in Adobe Experience Manager without flushing entire directory

How can I use selector based cache flushing in Adobe Experience Manager? http://example.com/content/myapp/us/en.child1.xml http://example.com/content/myapp/us/en.child2.xml Lets say,we have xml's ...
Vamshi M's user avatar
0 votes
0 answers
126 views

CloudFront For Wordpress Site On EC2

I have an EC2 instance, with LAMP Stack. I'm following this guide for CloudFront setup for a wordpress site. https://aws.amazon.com/blogs/startups/how-to-accelerate-your-wordpress-site-with-amazon-...
Sollosa's user avatar
  • 101
3 votes
0 answers
76 views

Google Search Console reports mobile friendly errors after enabling WordPress caching plugin

I tried to test my site in the google webmaster, I got Mobile usability issue But when I exclude the Googlebot in my cache plugin it's working properly! The speed is important so I am trying to send ...
Mohamed El-Qassas MVP's user avatar
0 votes
1 answer
189 views

Why google is not caching my pages? [duplicate]

Some pages of my website chevy-cars.com are showing the cache button on the right side of the links in google listing and some pages are not for a long time. The pages that are showing cache button ...
Birat Bose's user avatar
1 vote
1 answer
202 views

CDN cached PHP page vs HTML one - Loading speed

Is there any difference at all in terms of loading speed if we have a fully cached PHP generated site (by for example, using CloudFlare rules "Cache everything") and a HTML page? Cloudflare allows ...
Steve's user avatar
  • 317
2 votes
1 answer
59 views

I have one website that seems to be cached indefinitely on my Mac

I have a strange problem that I can't seem to find an answer to. I developed a website for a client on my dev server. I uploaded it to their live server when it was ready. This was 2-3 months ago. ...
Dorys Sosa Prentice's user avatar
5 votes
1 answer
5k views

What headers used in request by google bot?

What headers used in request by google bot? Must be user agent, but what else? I'm interested in cache control headers, does bot try to get fresh page, but not from cache? The related question: Do ...
LeonidMew's user avatar
  • 605
5 votes
2 answers
1k views

Do browsers send different HTTP headers on page reload so that server side caches can be flushed?

I'm implementing caching at the server application level, because my hosting doesn't provide Apache caching modules and it's not possible to use a reverse proxy there. Its cheap and fast hosting, so I ...
LeonidMew's user avatar
  • 605
1 vote
0 answers
37 views

rel="dns-prefetch" / rel="preconnect" vs far-future expiry headers...?

I've always been a big fan of far-futures expiry headers. First time visit on my site's homepage results in 40 HTTP requests, but a subsequent visit comes in at 1, with a response as snappy as you'd ...
Codemonkey's user avatar
1 vote
0 answers
11 views

Storing session data between servers (and noob guidance) [closed]

First post here, I'm sure this information is somewhere on the web, but the problem is I'm such a noob I don't know what to search for. So, my problem is that I want to design a sign up API. Let's ...
Jakub Koralewski's user avatar
4 votes
2 answers
146 views

Is it bad for SEO to embed static sections of a page in a JavaScript file so that they can be cached?

Is it a bad idea to embed unimportant static HTML code in a JavaScript file? Could it harm SEO? For example, the footer or header HTML code is constant and those sections load for many different ...
Ali Mottaghi Pour's user avatar
0 votes
1 answer
118 views

Firefox doesn't update cache of a downloadable zip file. Why?

I have a small website (hosted on a shared Linux/PHP server) where I allow users to download my software. It comes in a form of a ZIP file that people can download. I just noticed today after having ...
c00000fd's user avatar
  • 151

1
2 3 4 5 6