[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
CSS3 PIE Forums - View topic - Pie loads first time, but not after.
Forums
View unanswered posts | View active topics It is currently Thu Aug 06, 2020 10:22 pm



Reply to topic  [ 6 posts ] 
 Pie loads first time, but not after. 
Author Message

Joined: Wed Aug 22, 2012 10:40 am
Posts: 1
Post Pie loads first time, but not after.


Wed Aug 22, 2012 10:51 am
Profile

Joined: Wed Oct 03, 2012 12:14 pm
Posts: 3
Post Re: Pie loads first time, but not after.
Same problem. You ever figure out why?


Wed Oct 03, 2012 12:20 pm
Profile

Joined: Tue Oct 16, 2012 10:01 am
Posts: 1
Post Re: Pie loads first time, but not after.
I have a very similar problem. It seems to be that when PIE.htc is used it gets loaded twice. The first load gets aborted, but not like a normal abort with an error code, the data is simply truncated. A subsequent load a few ms later works OK. It seems that if the correct fully loaded copy is present in cache, then it is fine.
The problem is quite strange and seems like a bug in IE.


Tue Oct 16, 2012 10:07 am
Profile

Joined: Mon Nov 19, 2012 4:20 pm
Posts: 2
Post Re: Pie loads first time, but not after.
I'm seeing the same truncated download of PIE.htc in IE9 as ladz mentioned above.
I've attached a screenshot of the network traffic from IE's developer tools showing PIE.htc being downloaded twice. The first time it gets downloaded it is truncated, only 8kb instead of 40kb.
Any thoughts about what may be causing this?


Attachments:
Screen Shot 2012-11-07 at 11.53.29 AM.png [45.58 KiB]
Not downloaded yet
Mon Nov 19, 2012 4:31 pm
Profile

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1452
Post Re: Pie loads first time, but not after.
Unfortunately the loading of the htc file is handled completely by IE, and I have no visibility into how it does that. If someone is able to find a pattern to what causes it to sometimes download twice and sometimes only once, that would be helpful to help users avoid it. But from a code standpoint there's nothing we can do within PIE itself to prevent the double download.

However, in the 2.0 codebase on GitHub, PIE has been rearchitected to try to lessen the cost of this double download. The .htc file has become a very small (~1kb) loader file which makes a subsequent request for a secondary logic file, specific to the browser version. This means that even if the .htc is downloaded twice, that cost is very small. Hopefully this will help alleviate the situation.


Mon Nov 19, 2012 5:08 pm
Profile

Joined: Mon Nov 19, 2012 4:20 pm
Posts: 2
Post Re: Pie loads first time, but not after.
Looks like I figured out the root cause of the truncated download of PIE.htc. The apache server was missing some gzip configuration.
Added the following to the httpd.conf file:
AddOutputFilterByType DEFLATE text/x-component

I also had to use the 2.0 version of PIE has well. Thanks for the suggestion.


Mon Nov 19, 2012 7:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 4 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.