Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement caching for on-demand compiling with plessc#513

Open
thybzi wants to merge 1 commit into
leafo:master from
thybzi:master
Open

Implement caching for on-demand compiling with plessc #513
thybzi wants to merge 1 commit into
leafo:master from
thybzi:master

Conversation

@thybzi

@thybzi thybzi commented Dec 3, 2013

Copy link
Copy Markdown

Implemented caching feature (that exists in main module) to plessc command-line tool.
Added -q key to plessc in order to enable this new feature.

The code if based on this example from lessphp documentation:
http://leafo.net/lessphp/docs/#compiling_automatically

Generates .lessphp files beside corresponded less-files compiled, and then tries to read them and use as cache.
Rewrites cache files when needed ($cache_new["updated"] > $cache["updated"]).

thybzi commented Dec 7, 2013

Copy link
Copy Markdown
Author

This thing about caching is what we are using intensively in a project with lot of LESS styles compiled with lessphp.

Please accept this request, or explain problems/issues it can cause (though I can't imagine any - because it is a new feature, changing nothing in existing functional :)

I suppose this feature could be useful for everyone who uses lessphp.

thybzi commented Dec 14, 2013

Copy link
Copy Markdown
Author

Please merge this pull request, I think this feature will be useful for everyone using plessc CLI tool. Also, it shouldn't break anything currently working.

thybzi commented Dec 22, 2013

Copy link
Copy Markdown
Author

Would you please (review and) merge that?

thybzi commented Jan 18, 2014

Copy link
Copy Markdown
Author

Why don't accept this cool pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /