Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
5
votes
2answers
89 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 ...
2
votes
3answers
1k views

JavaScript and CSS cached and not updating not updating from WAMP server even though “view source” shows most recent file

I have a WAMP server with PHP 7.2.10. When I change a file, for example .css, the changes is not visible in browser. When I "view source" via my browser (Ctrl+U) I get the updated latest version of ...
4
votes
1answer
5k views

Why is Chrome caching my login page?

Our literacy web site for kids with disabilities is causing some users issues with logging in. You can visit the site at http://tarheelreader.org/. If you login at https://tarheelreader.org/login/, ...
1
vote
0answers
18 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 ...
1
vote
0answers
7 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 ...
0
votes
0answers
11 views

Website Speed Issue [duplicate]

How can I boost my website speed "Onlineseoblog"? I have done the following: Cloudflare W3C Total Cache Removed embedded Videos
1
vote
1answer
244 views

How to prime cache on all location of a cdn

I have just started using MaxCDN to serve static resources faster (images, js and css mostly). It works great, as long as the data is cached on the cdn's location that is close to where I live. But ...
3
votes
1answer
62 views

How to find one of my accelerated mobile pages that is cached by Google already?

For AMP (Accelerated mobile pages) pages, I know about the API to find out if a URL is cached or not. However, I'm having trouble finding one that is cached. I need to find a cached AMP URL to ...
0
votes
1answer
37 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 ...
4
votes
2answers
58 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 ...
263
votes
42answers
48k 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 ...
2
votes
3answers
4k views

Leverage Browser Caching - third party resources

I am optimising a website based on PageSpeed Insights guidelines. And one of the points is to Leverage Browser Caching. And in this case - for the third party resources - like Google Analytics and ...
1
vote
2answers
3k views

What response headers encourage 304-Not Modified upon reloads?

When looking at the network waterfall in Firebug/Chrome/IE9, I keep seeing "200-OK" instead of "304-Not Modified" for many cache-able files (images, js, css) on this page, for example. I believe it ...
1
vote
2answers
1k views

Chrome doesn't remember vertical scroll position of my website when reloading the page?

Chrome seems to remember the last vertical scroll position of most websites when reloading the page or going back to it from another page. However, it's not working on my site. The site is a fairly ...
0
votes
1answer
60 views

Cannot find where my site is being cached! [closed]

So I have a bit of experience as a web master, but am at my whits end trying to find out what is caching my site. I cannot see any updates I make for the life of me. What I've tried: Clear ...
1
vote
0answers
64 views

How to allow Google fonts to be cached for more than one day?

I tried this code below, but I still see the message on Google Insights that the fonts have a expiration of 1d. AddType application/vnd.ms-fontobject .eot AddType application/x-font-ttf .ttf AddType ...
1
vote
0answers
26 views

Browsers load actual website from external server and keep in cache [closed]

So, currently, I'm using 000webhost to host my website, but they only allow 1000 MB to store all the files for my website, which IMO is a little small. So, what I want to accomplish is something like ...
2
votes
2answers
3k views

Is there any way to invalidate all memcache entries that begin with “User*”?

I recently made a change to my User class (which is memcached); is there any way I can invalidate all entries whose key begins with User without invalidating the entire cache? If not are there any ...
1
vote
0answers
495 views

Disable caching for subdomain on Cloudflare?

How can I disable caching for a subdomain on Cloudflare but keep SSL?
1
vote
1answer
38 views

Accelerated mobile page(AMP) and password protected admin area, Can I combine both in single page?

Full site being migrating to AMP. I want to integrate admin functionality to AMP pages, like simple links for deleting content, and huge forms(not mobile friendly) for editing content. It will be ...
1
vote
1answer
119 views

404 on google cached version pages [duplicate]

When I am searching my website on Google cache version is showing 404 errors. I tested same for some other competitors also and the same problem is there. Reviewed on Google Search Console, all good ...
2
votes
1answer
46 views

Deleted posts don't seem to be completely removed

I asked a webmaster to remove some posts on his website where some pictures and content referring to me appeared. He removed pictures and content but they still appear as results on google search, and ...
2
votes
0answers
109 views

Local browser caching not working due to .htaccess rules

All the JavaScript files hosted from my server are not being cached - just those from 3rd party CDNs. The information on caching is bountiful, but I've been unable to create something that works. I'...
10
votes
4answers
16k views

“404. That’s an error.” when viewing from Google cache

My site is getting 404. That’s an error. message when I click on cached from Google search results. This is the error message from Google: That’s an error. The requested URL /search?q=cache:...
31
votes
5answers
52k 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 ...
1
vote
2answers
51 views

How long will deleted content will be visible on search engines and why?

I posted a note on Facebook an then set the privacy mode to "visible to me only", and then deactivated my account, and then deleted the note, but the screen of it still appears on the indexed results ...
1
vote
2answers
30 views

Why is serving cached content to logged in users against recommendations?

I am keen to get some more information on cached pages. I currently have a store through wordpress/woocommerce and use hummingbird to cache pages. On of the options is to opt to serve cached pages ...
1
vote
0answers
328 views

10+ Years Old Website are Suddenly Showing 404 Cache Error [duplicate]

I am getting 404 errors while checking caching of old websites. I have research on this issue and found that Google may be collecting data for mobile index and i have check server log as well and ...
1
vote
1answer
3k 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
0answers
38 views

Google cache is not showing up for a page despite trying twice to use the fetch and render tool [duplicate]

I did Fetch and Render twice on a particular page but the cached version of the page is still not showing up on Google. I did a Fetch and Render on other posts on the site and they all showed cached ...
0
votes
1answer
321 views

Why? My website is not showing “cache option” in search result [duplicate]

Plz guide me. Why? my website is not showing "cache option" in search result. when I check Ex- (Cache: http://example.com ) then it shows - "404. That’s an error." URLs are indexed & no any ...
1
vote
0answers
35 views

My WordPress site is slow when I'm not using a VPN

I host a WordPress site which isn't behaving as I'd expect. Its taking an age to load, sometimes timing out before its finished. However, if I have my VPN (PIA) enabled, it loads immediately and is ...
1
vote
1answer
443 views

How to refresh Google Reader cache for a specific domain

Brief history example.com was associated with a blogspot. example.com changed to an institutional site and features a small code instructing which file should be retrieved by RSS readers. <link ...
5
votes
3answers
4k views

expires headers and forcing cache-loading instead of 304?

So here is a little mystery. Google Analytics javascript somehow always loads from browser cache on F5 (in Firefox). I can not get the same thing to happen with my own scripts. Here are the headers ...
3
votes
1answer
3k views

Google no longer showing link to cached result in SERP result

I was looking today to see which version of a page Google had crawled and cached, but when I looked, I could no longer see the place where Google shows the cached content. Is this a feature that ...
1
vote
0answers
92 views

Facebook debugger is caching different IP addresses for same domain

I have problem with Facebook debugger, I tried to scrape domains few times, and I got strange results. Facebook debugger is caching different IP addresses for the same domain. I saw a few different ...
0
votes
1answer
2k views

How to Fix Leverage browser caching connect.facebook.net/en_US/fbevents.js?

While testing my site on Google PageSpeed insights tools it showing very much poor result of Mobile Page Load speed as you see on the image. How can i get a well score.is it will be solved if solve ...
1
vote
2answers
62 views

Will serving cached pages for performance reasons hurt SEO?

We have a website that has hundreds dynamic category pages that bring up a list of products by searching relevant products in our database. The problem is that a query from server to database takes 4-...
0
votes
1answer
46 views

Efficiency of generating a list of pages on the fly

I am currently working on improving the extensibility of my website. One of the things I am working on is automatically generating a list of pages for the navbar, sidebar, index, etc, rather than ...
2
votes
2answers
6k views

Domain expired- possible to find content that was on websites?

I had a domain that I let expire, and was subsequently purchased by someone else. I have several links on my website that are now directed towards their new site. I was wondering if it is possible to ...
0
votes
0answers
152 views

Webpagetest.org - does repeat view display browser cache?

In the documentation is written, to generate the repeat view webpagetest closes the browser and launches it again. Does it mean, the browser cache goes on restart empty and doesn't play any role on ...
1
vote
3answers
2k views

how to properly cache a static website .htaccess

The problem i noticed with my static website. Is that the css is not renewing itself once I updated the website code at areas (Adding new pictues, text, colours). I checked immediately once i updated....
1
vote
0answers
189 views

Google caching wrong content for top ranking URL causing rankings to drop 12 pages

When I use 'cache:example.com/category' Google is showing the homepage 'example.com' as the URL for the cached content. If I Google search 'info:example.com/category' it returns a result for the ...
0
votes
1answer
124 views

Does Classic ASP pages called with Querystring parameters are cached by the HTTP-level Kernel cache?

Our company have a website made in Classic ASP, which most of them are static pages. We have enabled Kernal cache for 30 seconds in our web.config file in order to speed-up the displaying of all our ...
1
vote
0answers
13 views

Google Cache Handling For Multi City Page

Recently i have been checking Google cache for the page https://in.example.com/hyderabad/events/speed-date-singles-with-lol/ET00054188 where i am getting cache of this url - https://in.example.com/...
1
vote
2answers
2k 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 ...
9
votes
1answer
5k views

What happens if you don't set cache-control header?

What happens if you don't set the cache-control header? Does HTTP specify a default behaviour that clients should follow or is it up to the clients to decide? In Chrome, I have seen some Javascript ...
1
vote
0answers
248 views

Can a content be cached even if the max-age header is not set and vice versa?

As far as I understand, when a request is made for the very first time, the browser will download the resource from the server. If the Cache-Control: private,max-age=value header is present, then it ...
0
votes
1answer
471 views

How can I encourage the browser to cache the HTML5 <video> poster image?

I have a web page with a series of videos embedded on the page: <video controls preload="metadata" poster="/path/to/video1/poster-image-1.jpg"> <video controls preload="metadata" poster="/...
2
votes
1answer
211 views

Reduce amount of site script executions

I use SiteGround as a hosting service and I received a notice that we are reaching our monthly executions. We also use Wordpress as a CMS. Our site is popular and often has several users on it at once,...