PageSpeed Universal Bookmarklet

I got tired of having to turn to Chrome or FF to quickly run Google’s Page Speed Insights. Hence, I created a handy universal bookmarklet for you! Just drag the link below into your bookmarks bar in any browser.

[→ Run PageSpeed](javascript:location.href='PageSpeed Insights)


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Alternately, if you want Google Page Speed Insights to open in a new tab, use this bookmarklet:

[→ Run PageSpeed](javascript:(function()%7B%20window.open('PageSpeed Insights);%20%7D)():wink:


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Caleb… this is fairly interesting. It at least diverted me for a while as I tried to learn more about Leverage Browser Caching

Do you (or anyone else) have some experience with this? I’m familiar with the cache-control meta tag (max-age), but even though I’ve applied that, Google still flags me red on the subject. PageSpeed goes so far as to list each image with the note “expiration not specified”.

Is it possible to define cache expiration in the image tag? I’ve read about setting the Apache headers via the htaccess file, but that’s a global setting, right? I’d rather not futz with the server settings if I reasonably could get away with it.

Also, I could see some images having a shorter ‘shelf-life’ than others - so being able to easily target some images for a longer duration while making sure image assets that are more often updated aren’t stored any longer than necessary.

I’ve not found much out there that I can get my head around quickly, so why not see what our internal knowledgebase has to offer.

Best regards,


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ernie,

To the best of my knowledge, the only way you can declare the cache expiration date is through the .htaccess file. This is what I use as a starting point:

Simply add that to your .htaccess file, and customize the cache time. Then, if you need to bust the cache, you will need to rename the resources.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That’s how I do it.

Todd

To the best of my knowledge, the only way you can declare the cache expiration date is through the .htaccess file.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options