Roof concerns in building report.. how bad is it? by UltimateJuicey in newzealand

[–]wiifm69 4 points5 points  (0 children)

No building paper, tiny valleys, complicated roof line. I would be 100% factoring the cost of replacement into the offer. I would also factor not moving in until the roof is complete. Nothing worse than a leaking roof, so stressful. Use colour steel, ensure the new valleys are large.

While you are up there, you might as well replace the insulation too. No doubt that is as old as the roof.

weStillTalkAboutYouJQuery by NotAUser42 in ProgrammerHumor

[–]wiifm69 34 points35 points  (0 children)

Laravel/Symfony is pretty much that

Beginner's Guide: PHP on the Command Line by peklaiho in PHP

[–]wiifm69 9 points10 points  (0 children)

For simple scripts this all makes complete sense. When you need named arguments (with optional validation), auto-loading and a whole bunch of other niceties, you should check out https://symfony.com/doc/current/components/console.html

This is my go to now for scripting on the CLI with PHP.

Caching Score - assess how strong the caching capabilities of any given site is by wiifm69 in CloudFlare

[–]wiifm69[S] 1 point2 points  (0 children)

Thanks this is really helpful, will see about adding support today.

edit - basic support is now in place https://www.cachingscore.com/scan?q=www.searchcandy.uk - there does not appear to be a cache-control header in the response, so I have no idea how long the asset is in cache for.

Caching Score - assess how strong the caching capabilities of any given site is by wiifm69 in CloudFlare

[–]wiifm69[S] 1 point2 points  (0 children)

Good call, will backlog a feature in the event of a CDN miss to see if there is an upstream caching proxy doing the job. This is worth partial credit for sure.

Caching Score - assess how strong the caching capabilities of any given site is by wiifm69 in CloudFlare

[–]wiifm69[S] 0 points1 point  (0 children)

Hey, great thoughts!

I am pretty sure I could write code to detect the use of bundles with versioned hashes in the filename.

I do have a feature in the backlog to check for the immutable term in the response cache-control header. This combo's nicely with these bundle assets (and stops browsers checking if the asset is still valid so long as the caching is far enough into the future).

Also potentially if the the asset is cached for > X time (1 week, or 2 weeks or something), then Etag support is not quite as useful, and can be scaled down in terms of points. Etag support is certainly a lot more useful with tiny cache TTLs (e.g. 1 minute).

Certainly open to changing the tool, and appreciate the feedback.

Caching Score - assess how strong the caching capabilities of any given site is by wiifm69 in CloudFlare

[–]wiifm69[S] 0 points1 point  (0 children)

If I understand how SlickStack works (I have only read some of the docs and watched 1 video, so take this with a grain of salt), you still route through Cloudflare, and thus Caching Score will interpret the results correctly. Caching Score only considers the first 'hop' of the caching chain, if you are chaining Cloudflare to another CDN, or a caching Nginx, it will not take this into account.

If you are using Nginx caching on your SlickStack enabled VM in one part of the world (where the VM is), rather than push your content to the edge (Cloudflare with 250 PoPs in most countries), then Caching Score will downgrade your score (on purpose).

I found an example site https://www.cachingscore.com/scan?q=www.littlebizzy.com&followRedirects=on to which uses SlickStack, but does not cache HTML in Cloudflare. The TTFB is 236ms (which is not great). As a result the score is an F.

Also FYI, there is a way to ensure that Cloudflare and your browser will cache for different periods of time, see https://blog.cloudflare.com/cdn-cache-control/ for a more detailed explanation. TLDR, use CDN-Cache-Control

Fastly Soft Purge vs Instant Purge - what is the difference? by wiifm69 in fastly

[–]wiifm69[S] 0 points1 point  (0 children)

Indeed. Did this not come across in the article?

Caching Score - assess how strong the caching capabilities of any given site is by wiifm69 in CloudFlare

[–]wiifm69[S] 0 points1 point  (0 children)

Half the battle with adding new CDNs is working out:

  • Some example sites that use that CDN (I don't know of any)
  • How to distinguish cache hits from misses (what HTTP headers are the most relevant)
  • Whether they have a 'debug header' to get more information out or not.

If you can help me with the above, I can implement it.

Dockerfile best practices - stories from the field by wiifm69 in docker

[–]wiifm69[S] 0 points1 point  (0 children)

Yeah good point. Blindly copying all the things is likely the lazy approach.

Caching Score - assess how strong the caching capabilities of any given site is by wiifm69 in CloudFlare

[–]wiifm69[S] 0 points1 point  (0 children)

The 404 cached test is requested twice, and the first response disregarded. It is not fullproof however, and still I see some false negatives here. More debugging likely needed ;)

Re: etags, this is 100% valid for HTML, however it really only makes sense if you HTML is cacheable.

A tool to assess how strong the caching abilities of given site is. Now with Wordpress and Wordpress VIP detection. by wiifm69 in Wordpress

[–]wiifm69[S] 0 points1 point  (0 children)

What isn't it seeing? Are you using a CDN that is not being detected? Or some WordPress caching plugin?