Giter VIP home page Giter VIP logo

funky_cache's Introduction

Hi there ๐Ÿ‘‹ I'm @mvdkleijn

IT Engineer. Developer. Writer. Husband and father. Open Source builder. Big proponent of small things like respecting each other, democracy and the post-scarcity socialism idea.

funky_cache's People

Contributors

bomura avatar chrisgo avatar johnnytumlinson avatar mvdkleijn avatar tuupola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

funky_cache's Issues

Prevent clearing all cached files when only one page is being updated

I have only basic installation of Wolf CMS 0.8.0, as I am still trying to familiar myself with how everything work.

Most of functionalities in Funky Cache seem to work fine. Except that I was quite surprised that it removes all cached files just because one page is being updated. I think the better way is only to remove the cached file of that particular page instead of the whole cached files.

Generate the compressed version of the cached files

It would be better if the plugin also creates the compressed version of the cached file. For instance after generating my-first-article.html it also generates my-first-article.html.gz, so that the web server (Nginx in my case) does not need to perform the compression on the fly while serving the requests. For heavy load servers, I think the performance improvement would be quite significant as the web server does not need to do unnecessary processing for every requests.

Remove unnecessary creation of empty folders

Could we prevent the plugin from unnecessarily creates empty folders for cached files located on nested folders like below?

root@myvps:/wolfcms_0.8.0/cache/articles/2014/06/01# ls -ltr
total 16
drwxr-xr-x 2 www-data www-data 4096 Jun 3 20:06 my-second-article
-rw-r--r-- 1 www-data www-data 3033 Jun 3 20:06 my-second-article.html
drwxr-xr-x 2 www-data www-data 4096 Jun 3 20:10 my-first-article
-rw-r--r-- 1 www-data www-data 3084 Jun 3 20:10 my-first-article.html
root@myvps:/wolfcms_0.8.0/cache/articles/2014/06/01# ls -ltr my-second-article my-first-article
my-second-article:
total 0

my-first-article:
total 0
root@myvps:/wolfcms_0.8.0/cache/articles/2014/06/01#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.