DEV Community

loading...

Discussion on: July 3rd, 2020: What did you learn this week?

Collapse
nehemek profile image
Nehemek

I learned how to setup a caching system in Php that works with the Prismic.io CMS.
I encountered some challenges such as how to delete a single cached page when it is updated since Prismic's webhook system doesn't tell you any information about what is updated. I had to save a snapshot of the site (optimized of course) and then compare what changed.

Other funny issues/oversights were saving the files according to the URI but without taking into account queries. Imagine my face when I found a lot of cached facebook referred pages...

But yeah, it was really fun to learn about!

Collapse
nickytonline profile image