3 ms·
Emm.. doesn’t proxy cache give like the same result?
by molszanski 6y ago
Emm.. doesn’t proxy cache give like the same result?
- neya 6y agoNo. Proxy cache was our first approach. Proxy cache solves the performance problem. There's also the issue of code mess in most Wordpress themes. We used Pagespeed as reference and our score -with- proxy cache was about 60. Once we re-wrote the theme in our static site framework, the Pagespeed score was 95. Could I have achieved the same with PHP? Probably. The biggest problem is Wordpress doesn't have an MVC like framework which makes it easy to write messy code even for experienced developers. Plus, Elixir, the language I used is miles ahead of PHP. Right now, we have MVC down to the theme level. It helps write cleaner code and writing integrations to our site much much faster. There's tons of integrations that large media sites actually use. Eg. ad server related, tracking related, etc.
- molszanski 6y agoI genuinely don't understand. Proxy cache web server sends static html from ssd/RAM. Static site framework web server sends html from ssd/RAM. How is that different?
- neya 6y agoIf your theme is bad, the HTML it generates is also bad. That's why. Next, proxy cache doesn't work well for news sites for example that have constantly updated articles and sections of the website by the minute.