<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Google on Nelson Figueroa</title><link>https://nelson.cloud/categories/google/</link><description>Recent content in Google on Nelson Figueroa</description><image><title>Nelson Figueroa</title><url>https://nelson.cloud/apple-touch-icon.png</url><link>https://nelson.cloud/categories/google/</link></image><language>en</language><lastBuildDate>Wed, 01 Apr 2026 22:35:32 -0700</lastBuildDate><atom:link href="https://nelson.cloud/categories/google/index.xml" rel="self" type="application/rss+xml"/><item><title>Fix "Efficient Cache Policy" Warning on PageSpeed Insights When Using Amazon CloudFront</title><link>https://nelson.cloud/fix-efficient-cache-policy-warning-on-pagespeed-insights-when-using-amazon-cloudfront/?ref=rss</link><pubDate>Thu, 02 Jan 2025 00:00:00 +0000</pubDate><guid>https://nelson.cloud/fix-efficient-cache-policy-warning-on-pagespeed-insights-when-using-amazon-cloudfront/?ref=rss</guid><description>Get rid of the efficient cache policy warning on PageSpeed Insights by adding a &lt;code&gt;Cache-Control&lt;/code&gt; header to CloudFront.</description><content:encoded><![CDATA[<p>I ran into this warning recently on 

<a href="https://pagespeed.web.dev/" target="_blank" rel="noopener">PageSpeed Insights</a>: <em>&ldquo;Serve static assets with an efficient cache policy&rdquo;</em>. The warning highlighted three assets that had no &ldquo;Cache TTL&rdquo; defined:</p>
<img src="/fix-efficient-cache-policy-on-gsc/before.webp" alt="Efficient cache policy warning on PageSpeed Insights" width="720" height="295" style="max-width: 100%; height: auto; aspect-ratio: 1904 / 782;" loading="lazy" decoding="async">
<p>To resolve this warning, I added a <code>Cache-Control</code> header with the value <code>max-age=31536000</code> to the HTTP responses of my domain (<code>31536000</code> is the number of seconds in a year).</p>
<p>I host 

<a href="https://nelson.cloud" target="_blank" rel="noopener">nelson.cloud</a> on 

<a href="https://aws.amazon.com/cloudfront/" target="_blank" rel="noopener">Amazon CloudFront</a>. I added this header to the CloudFront Distribution that the <code>nelson.cloud</code> domain points to. This can be done by adding a &ldquo;Response headers policy&rdquo; in the Behavior of the Distribution. I wrote a post demonstrating how to do this in detail: 

<a href="https://nelson.cloud/how-to-add-a-custom-response-header-to-an-amazon-cloudfront-distribution/">How to Add a Custom Response Header to an Amazon CloudFront Distribution</a>.</p>
<p>After the header was configured, I checked PageSpeed Insights again and the warning had gone away for the assets under my domain <code>nelson.cloud</code>:</p>
<img src="/fix-efficient-cache-policy-on-gsc/after.webp" alt="Efficient cache policy warning is gone for 2 assets." width="720" height="194" style="max-width: 100%; height: auto; aspect-ratio: 1912 / 516;" loading="lazy" decoding="async">
<p>(The remaining asset is not under my control so I can&rsquo;t fix that one.)</p>
<blockquote><p><strong>Note:</strong></p>You may be able to use a different value smaller than <code>31536000</code> for your header. I chose a year in seconds to be on the safe side for PageSpeed Insights.</blockquote>

<h2 id="references">References</h2>
<ul>
<li>

<a href="https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl/" target="_blank" rel="noopener">https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl/</a></li>
<li>

<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control" target="_blank" rel="noopener">https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control</a></li>
<li>

<a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html" target="_blank" rel="noopener">https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html</a></li>
</ul>
]]></content:encoded></item><item><title>Finding Private Information Through Resumes on Google Search</title><link>https://nelson.cloud/finding-private-information-through-resumes-on-google-search/?ref=rss</link><pubDate>Mon, 16 Sep 2024 00:00:00 +0000</pubDate><guid>https://nelson.cloud/finding-private-information-through-resumes-on-google-search/?ref=rss</guid><description>Reconsider uploading your resume on the open web.</description><content:encoded><![CDATA[<p>I noticed a lot of people are willing to upload their full unredacted resume to their personal sites.
I recently had an idea of using Google search filters to see how easy it would be to find these.
I wanted to see how easily a malicious person could harvest things like phone numbers, email addresses, and even physical addresses.
Turns out it&rsquo;s not that difficult.</p>
<blockquote><p><strong>Disclaimer:</strong></p>This is purely for educational purposes. I don&rsquo;t plan on collecting information and using it for malicious purposes.</blockquote>

<p>I started by searching domains that host static sites like <code>github.io</code> and <code>pages.dev</code>.</p>
<p>I found a lot of resumes with this Google search. 

<a href="https://www.google.com/search?q=resume.pdf&#43;filetype:pdf&#43;site:github.io" target="_blank" rel="noopener">Try this search yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">resume.pdf filetype:pdf site:github.io</span></span></code></pre></div><p>Searching for <code>resume</code> instead of <code>resume.pdf</code> also works, but the results are polluted by &ldquo;Resume Guide&rdquo; PDFs, etc.</p>
<br>
<p>Searching for the standard <code>github.com</code> domain also yields lots of results. 

<a href="https://www.google.com/search?q=resume.pdf&#43;filetype:pdf&#43;site:github.com" target="_blank" rel="noopener">Try this search yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">resume.pdf filetype:pdf site:github.com</span></span></code></pre></div><br>
<p>After GitHub I decided to try the <code>pages.dev</code> domain used by 

<a href="https://pages.cloudflare.com/" target="_blank" rel="noopener">Cloudflare Pages</a>. Here is a simple search query that gives good results. 

<a href="https://www.google.com/search?q=resume&#43;filetype:pdf&#43;site:pages.dev" target="_blank" rel="noopener">Try this search yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">resume filetype:pdf site:pages.dev</span></span></code></pre></div><br>
<p>The Netlify domain <code>netlify.app</code> is used for static pages and also hosts a lot of resumes that users upload. 

<a href="https://www.google.com/search?q=resume&#43;filetype:pdf&#43;site:netlify.app" target="_blank" rel="noopener">Try this search yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">resume filetype:pdf site:netlify.app</span></span></code></pre></div><br>
<p>There are top level domains (TLDs) commonly used for personal sites, such as <code>.me</code> and <code>.dev</code>. These domains are also great for finding resumes. Here&rsquo;s a Google search for the <code>.me</code> TLD. 

<a href="https://www.google.com/search?q=resume&#43;filetype:pdf&#43;site:*.me" target="_blank" rel="noopener">Try it yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">resume filetype:pdf site:*.me</span></span></code></pre></div><br>
<p>And here is a Google search for the <code>.dev</code> TLD which is commonly used by developers. 

<a href="https://www.google.com/search?q=resume&#43;filetype:pdf&#43;site:*.dev" target="_blank" rel="noopener">Try this out yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">resume filetype:pdf site:*.dev</span></span></code></pre></div><br>
<p>I didn&rsquo;t try this with other TLDs but I know that other TLDs like <code>.id</code>, <code>.blog</code>, and <code>.codes</code> are usually used for personal sites. Feel free to search by these TLDs and see what you can find!</p>
<p>We can take this further. What if we want to find people based on something more specific than a domain or TLD? I&rsquo;ll keep using the <code>.dev</code> TLD for simplicity but there are many possibilities.</p>
<p>Maybe we want to find someone in a specific city? 

<a href="https://www.google.com/search?q=boston&#43;resume&#43;filetype:pdf&#43;site:*.dev" target="_blank" rel="noopener">Try it yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">boston resume filetype:pdf site:*.dev</span></span></code></pre></div><br>
<p>Or someone that went to a particular college? 

<a href="https://www.google.com/search?q=University&#43;of&#43;California&#43;Los&#43;Angeles&#43;resume&#43;filetype:pdf&#43;site:*.dev" target="_blank" rel="noopener">Try it yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">University of California Los Angeles resume filetype:pdf site:*.dev</span></span></code></pre></div><br>
<p>Someone that works or worked at a certain company? 

<a href="https://www.google.com/search?q=%22Apple%2C&#43;Inc%22&#43;resume&#43;filetype%3Apdf&#43;site%3A*.dev" target="_blank" rel="noopener">Try it yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">&#34;Apple, Inc&#34; resume filetype:pdf site:*.dev</span></span></code></pre></div><br>
<p>Maybe we want the name, number, and address of someone who has worked at a defense company and may know sensitive information important to U.S. national security? Note that I didn&rsquo;t filter based on domain or TLD here. 

<a href="https://www.google.com/search?q=%22resume.pdf%22&#43;%22Raytheon%22&#43;filetype%3Apdf" target="_blank" rel="noopener">Try it yourself</a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">&#34;resume.pdf&#34; &#34;Raytheon&#34; filetype:pdf</span></span></code></pre></div><p><small><i>(I&rsquo;m just joking. Please don&rsquo;t come after me, feds.)</i></small></p>
<br>
<p>I also considered writing a script to run these searches for me, gather all PDF links, download the PDFs, and then parse through them for names, numbers, emails, and addresses.
But I stopped because I have no interest in collecting this information. I just wanted to see and show others how easy it is to find information on the open web. It&rsquo;s definitely possible to write a script to do this though.</p>
<h2 id="conclusion">Conclusion</h2>
<p>In conclusion, it&rsquo;s really easy to find private information on resumes posted online. Please reconsider if you are thinking of making your resume available online.</p>
<h2 id="further-reading">Further Reading</h2>
<p>I am not the first to have this idea. Here&rsquo;s a similar post that you should also check out:</p>
<ul>
<li>

<a href="https://www.trickster.dev/post/simple-ways-to-find-exposed-sensitive-information/" target="_blank" rel="noopener">https://www.trickster.dev/post/simple-ways-to-find-exposed-sensitive-information/</a></li>
</ul>
]]></content:encoded></item></channel></rss>