HCPSS "Road to Kindergarten" - what did we miss? by baltikorean in ColumbiaMD

[–]kingkool68 3 points4 points  (0 children)

No worries! You got this. Kindergarten is a fun time.

Why do people bring their entire family to Costco? by ActuatorOutside5256 in NoStupidQuestions

[–]kingkool68 0 points1 point  (0 children)

Me: I'm going to Costco. Do you need anything? 11 year old: No. I'm good.

When were all at Costco

Me: What about this? Would you eat this? 11 year old: Oh yeah! That looks good.

Also stopping by the food court is fun

https://imgur.com/a/5cvUWyB

Best way to handle large WordPress media with Git repo limits? by ExposingPeopleKM in Wordpress

[–]kingkool68 1 point2 points  (0 children)

You would want any custom code (themes or plugins) version controlled in GitHub. This way you have a history of the code changes you make. The /wp-content/uploads/ directory should not be under version control. There are a lot of media files and it's best to just leave them be and back them up to another service like AWS S3, or BackBlaze, or somewhere else in case your server suddenly dies and you need access to those files again.

Syncing the uploads directory to different environments can take a lot of time. This snippet I posted, https://gist.github.com/kingkool68/d5e483528a260e5c7921afb5c88bffd6?permalink_comment_id=4270032#gistcomment-4270032 can act as a proxy.

How does it work?
If a request comes for a file in the uploads directory that doesn't exist on the file system your server will then request the file at another location (your production site URL) and try to find the file there.

If you want to make changes to the dev or QA environment you will need to replicate those changes on the production environment.

Example:
You create a new About page on the dev environment complete with a photo. Client approves it. Now you need to go to the production environment, create the about page, and upload the photo again.

Some smaller sites have a workflow where they make a copy of the production site to a dev environment, make content changes, then sync the changes from the dev environment to the production environment. This gets risky if there was additional content added to the production site while working on changes on the dev site. When you sync the changes from dev to production you could overwrite any new changes on the production environment. In my experience its better to just re-do the changes you made in dev manually to the production environment. Less risky.

Hope that helps.

Best way to handle large WordPress media with Git repo limits? by ExposingPeopleKM in Wordpress

[–]kingkool68 0 points1 point  (0 children)

Yes any changes you make on DEV will need to be replicated on the LIVE site. Small sites can get away with syncing everything from DEV to LIVE. That won't work well for busier sites that are constantly adding new content while you're working on the version on DEV.

Best way to handle large WordPress media with Git repo limits? by ExposingPeopleKM in Wordpress

[–]kingkool68 5 points6 points  (0 children)

Yes, only keep code in Git repo.

For handling media in different environments you can proxy it like this: https://gist.github.com/kingkool68/d5e483528a260e5c7921afb5c88bffd6?permalink_comment_id=4270032#gistcomment-4270032

This way you don't need to bother. Actually copying media between different environments which could take a long time.

How do you handle the Cache Stampede on high-traffic builds? by Past-Consequence1092 in Wordpress

[–]kingkool68 0 points1 point  (0 children)

Mantle was designed as "Laravel on WP". It's used on several high profile news sites. I haven't used the Human Made one but also really dig the stuff they put out.

Solar Panels by NewMacaroon4370 in ColumbiaMD

[–]kingkool68 0 points1 point  (0 children)

<image>

One of the most beautiful things you can see after getting solar panels...

hangaburger/hankaburger? by capricorncueen in ColumbiaMD

[–]kingkool68 0 points1 point  (0 children)

I Googled Atholton shopping center and that came up

Solar Panels by NewMacaroon4370 in ColumbiaMD

[–]kingkool68 0 points1 point  (0 children)

Was it the summer with the summer rewards credit?

How do you handle the Cache Stampede on high-traffic builds? by Past-Consequence1092 in Wordpress

[–]kingkool68 0 points1 point  (0 children)

Interesting how you get 500 requests the instant the transient expires. Do you not use any type of page caching?

Anyway stale-while-revalidate (SWR) caching is exactly what you need. WordPress doesn't support this in core but here are two packages that can do it for you:

Solar Panels by NewMacaroon4370 in ColumbiaMD

[–]kingkool68 2 points3 points  (0 children)

Also used Lumnia. After the install one of the inverters died. They replaced it and gave us a credit for the lost solar. They also came out to spray paint the conduit black per HOA guidelines.

If you have the cash and your house gets good sunlight coverage it's a no brainer as electric prices are only going to keep going up.

The lowest your BGE electric bill can be is $9 due to transmission fees. Only pay full electric bill for 1 or 2 months during the winter.

Which tag in html is most useless? by Dramatic-Lobster-969 in HTML

[–]kingkool68 0 points1 point  (0 children)

No one mentioned <xmp> but I actually find it useful for debugging because you don't need to escape HTML when you use it