Coder Social home page Coder Social logo

neilime / zf-assets-bundle Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 959 KB

AssetsBundle is a module for Zend Framework 3+ allowing asset management (bundling & caching)

Home Page: https://neilime.github.io/zf-assets-bundle/

License: MIT License

PHP 39.64% CSS 0.32% JavaScript 29.05% HTML 0.24% Less 30.55% SCSS 0.20%
assets-management assetsbundle css less minifier minifies minify php7 scss zend-framework zend-framework3 zendframework

zf-assets-bundle's Issues

can't install with zend farmework 3.0.1

i can't install this with zend framework 3.0.1 that need zend--config v2.6.0:

  • Installation request for neilime/zf-assets-bundle 0.0.1 -> satisfiable by neilime/zf-assets-bundle[0.0.1].
    • Conclusion: remove zendframework/zend-config 2.6.0
    • zendframework/zendframework 3.0.0 requires zendframework/zend-config ^2.6 -> satisfiable by zendframework/zend-config[2.6.0].
    • zendframework/zendframework 3.0.0 requires zendframework/zend-config ^2.6 -> satisfiable by zendframework/zend-config[2.6.0].
    • Conclusion: don't install zendframework/zend-config 2.6.0
    • Installation request for zendframework/zendframework 3.0.* -> satisfiable by zendframework/zendframework[3.0.0].

Generate new production cached file is some asset has been update

Hi,

I have a personal very old project developed with ZF2, and some weeks ago I discovered your module. So, my comment/idea is really for the zf2-assets-bundle but as that repository is read-only now, I post my idea/comment here.

I'm not really sure if I understand the expected behavior of the module in the 'production' environment. I would expect that a new cached file for an specific action was generated if some of the asset files used in that action had been modified. However, that doesn't seems the case. Should I set a new 'lastModifiedTime' in the options file, every time I modified an asset?

I think that my idea (if you consider interesting) can be achieved by modifying the 'hasProductionCachedAssetFiles' in 'AssetFilesCacheManager' class, to check, not only if the file exists but also if some asset has been updated from the last time we cached the production cached file.

Thank you very much for your help and for your generous effort,

Best regards,

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.