Google Caches JavaScript & CSS Files For A Long Time & Why That Matters

Oct 22, 2018 - 8:16 am 18 by

Google Long Time

Google's John Mueller confirmed on Twitter that Google does cache your JavaScript and CSS files for a "fairly long" time and thus, if those files change what content shows up on the page or what new URLs you produce, then that might be an issue for your SEO strategy.

John said "Yes - we cache these files [JavaScript and CSS] fairly long, so if you rely on them changing (content or URL) frequently, that might make rendering impossible or at least hard."

Here are the tweets:

So if you use these files to show Google specific fresh content or new URLs, try to think about how you can give them this new content and URLs other ways. If Google caches these files for a long time, it may delay how quickly they can pick up new content and URLs on your site.

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Google Search Volatility

More Details

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google

Google AI Overviews Pushing Searchers Into AI Mode, Drops Show More Button

Aug 28, 2026 - 1:30 pm
Search Forum Recap

Daily Search Forum Recap: August 28, 2026

Aug 28, 2026 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google GoTo Parameter Fight, PDFs Go Missing In Google, SEO For AI Responses & Google and Microsoft Ads News

Aug 28, 2026 - 8:01 am
Google Ads

Google Ads Book Buttons Expand To Search & Performance Max

Aug 28, 2026 - 7:51 am
Google Search Engine Optimization

Google Announces Search Updates For Transparency, Actionable Updates Get Blog Posts

Aug 28, 2026 - 7:41 am
Google

Google Preferred Sources, Tailor Your Feed & Search Profiles Are Different

Aug 28, 2026 - 7:31 am
 
Previous Story: Google My Business Products Beta Lets You Add Products To Your Local Listings