Forums
View unanswered posts | View active topics It is currently Wed Apr 23, 2014 9:08 am



Reply to topic  [ 2 posts ] 
 Stripped down Per-feature version of PIE 
Author Message

Joined: Sun Jun 19, 2011 11:31 am
Posts: 1
Post Stripped down Per-feature version of PIE
Hi,

I am integrating PIE in widget that is embedded in many websites, and looking for a way to make the file size as small as possible as load speed is crucial.

My thought is - could i get a stripped version of PIE adapted to run only specific effects?
for instance, i will need one widget to have rounded corners (only effect) while another will have shadow (again, only that effect).

So how significant would the change to the file size be if I would be able to strip it down to the essentials.

Thank you,
Amit.


Sun Jun 19, 2011 11:38 am
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1430
Post Re: Stripped down Per-feature version of PIE
I don't know an exact number, you'd have to try it and see what the savings would be. The only feature that's totally standalone is border-image; all others depend to some degree on at least border-radius because it affects them (box-shadow matches rounded corners, etc.)

I'd suggest that you check out the GitHub source and start stripping out the stuff that you don't want. I'm interested to hear your results of file size savings.


Sun Jun 19, 2011 4:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.